ZenphotoCMS Forum
empty album's and only video album's thumbnail - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: empty album's and only video album's thumbnail (/thread-3316.html)



empty album's and only video album's thumbnail - cqboy2003 - 2008-07-18

I create a empty album or there is only video,and no photo in this ablum,then the album thumbnail will be the "zen-logo.jpg" if "mod_rewrite" is off.it's address like
http://localhost/zp-core/i.php?a=&i=zen-logo.jpg&s=thumb

but if "mod_rewrite" is on ,it can not display exactly ,instead of a red furcation,that means the program does not find the picture "zen-logo.jpg"

the code in ".htaccess"
RewriteRule ^(.)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^(.
)/image/([^/\]+)$ zp-core/i.php?a=$1&i=$2 [L,QSA]

I think there is something wrong in this code,but I do not know how to fix it.




empty album's and only video album's thumbnail - sbillard - 2008-07-19

When mod_rewrite is on what does the url look like?

Also, what version of zenphoto are you running?




empty album's and only video album's thumbnail - cqboy2003 - 2008-07-21

http://localhost/%20/image/thumb/zen-logo.jpg
that album's name is "FLV"