|
#21
|
||||
|
||||
|
Quote:
http://joeroback.com/downloads |
|
#22
|
|||
|
|||
|
I download the last version. I have one more question, take a look at this page
http://www.enricmoreno.com/p/3 The photo is in "panoramic format", and the date and info+comment appears so down, it's possible when I publish that kinf of photos the text was under the image like when I post normal size images ? And about xhtml HTTP headers what they do ?
__________________
ENRICMORENO dot COM | my pblog |
|
#23
|
||||
|
||||
|
Yea I accidentally hard coded a 480px height in the style sheet. I fix it layer tonight when I get home
|
|
#24
|
||||
|
||||
|
height issue fixed
Quote:
Code:
min-height: 480px; The site is designed though for images that are 720px wide, but will work with anything smaller than 720px... but the main content is statically divided into a 720px area BY design. |
|
#25
|
||||
|
||||
|
mod_rewrite
Ok, I hacked up paged_archive.php for full mod_rewrite support. Modified version read a variable $cfgrow['mod_rewrite'], if true, produces mod_rewrite friendly URLs, if false, produces previous URLs.
http://joeroback.com/downloads It would be nice to get a mod_rewrite option in the main admin options page. Need these following RewriteRules in your htaccess or apache config: Code:
RewriteRule ^(about|downloads)/?$ index.php?x=$1 RewriteRule ^browse/?$ index.php?x=browse RewriteRule ^browse/([1-9][0-9]*)/?$ index.php?x=browse&pagenum=$1 RewriteRule ^browse/category/([1-9][0-9]*)/?$ index.php?x=browse&category=$1 RewriteRule ^browse/category/([1-9][0-9]*)/([1-9][0-9]*)/?$ index.php?x=browse&category=$1&pagenum=$2 RewriteRule ^browse/archive/(19|20)([0-9][0-9])[-](0[1-9]|1[012])/monthname/([^/]+)/?$ index.php?x=browse&archivedate=$1$2-$3&monthname=$4 RewriteRule ^browse/archive/(19|20)([0-9][0-9])[-](0[1-9]|1[012])/monthname/([^/]+)/([1-9][0-9]*)/?$ index.php?x=browse&archivedate=$1$2-$3&monthname=$4&pagenum=$5 RewriteRule ^browse/tag/([^/]+)/?$ index.php?x=browse&tag=$1 RewriteRule ^browse/tag/([^/]+)/([1-9][0-9]*)/?$ index.php?x=browse&tag=$1&pagenum=$2 RewriteRule ^comment/submit$ index.php?x=save_comment RewriteRule ^comment/([0-9]+)$ index.php?popup=comment&showimage=$1 RewriteRule ^(p|photo)/([0-9]+)$ index.php?showimage=$2 RewriteRule ^(p|photo)/([0-9]+)/rating/([1-5])$ index.php?showimage=$2&rating=$3 RewriteRule ^t/latest/?$ index.php?showthumb=latest&thumbtag=image RewriteRule ^feeds/(rss|atom).xml$ index.php?x=$1 |
|
#26
|
||||
|
||||
|
Now get that code on Extend.
__________________
Jay Williams | A Different View |
|
#27
|
||||
|
||||
|
I put both the paged_archive mod as a single addon and the template on Extend.
|
|
#28
|
|||
|
|||
|
One more question, it's possible to have diferent page title?
I use that in the head <title>enricmoreno dot com | <IMAGE_TITLE> | Image No. <IMAGE_ID></title> That's OK when I'm on image_template.php but don't word (obviously) in te about or browse. Any way to resolve it ?
__________________
ENRICMORENO dot COM | my pblog |
|
#29
|
||||
|
||||
|
Quote:
Code:
window.onload = function() {
document.title = document.title + ' | <IMAGE_TITLE> | Image No. <IMAGE_ID>';
var img = document.getElementById('photo');
img.onload = function(evt) {
// using custom fader since Effect.Appear() from scriptaculous
// lacks a few things:
// (1) callback function to do something when appear effect completes
// (2) work with visibility style instead of display
fade(img, 0.5, 10, fadeCallback);
}
// set img src
img.src = 'http://joeroback.com/images/20081130190138__mg_5130.jpg';
};
|
|
#30
|
||||
|
||||
|
I've got to stop by here more often. Seems like there's a lot I'm missing out on. As for the template, I don't mind at all, Joe. Nice work...really.
|
| Post Reply |
| Thread Tools | |
|
|