4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: karlito on November 03, 2007, 04:48:14 PM
-
I have installed version 1.7.4 and after creating a few categories I uploaded there images.
Now I would like that near the names of the categories instead of thumbnails of folder I have thumbnails of images from respective categories.
After reading a lot all the forums I found the easiest way to do that by just uncommenting in category_bit.html file
<!-- {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file} -->
After that the same folder thumbnail is there and no images. Maybe it worked in old version of gallery? In version 1.7.4 it doesn’t work, at list for me.
Could anyone help?
Thanks in advance.
-
Sorry ... I no get question ...
-
Sorry ... I no get question ...
I mean I uncommented <!-- {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file} -->
in category_bit.html but no result.
No images appear near the categories only folder thumbnails.
So I wonder what else I should do to get image thumbnails near the categories?
-
URL ?
-
http://tankaro.com/photo_/ (http://tankaro.com/photo_/)
-
You need edit includes/functions.php file where random_cat_image_file exec.
-
Sorry - in includes/constants.php file,
find:
SHOW_RANDOM_CAT_IMAGE
Set value to 0 or 1.
In templates, comment back (remove <! -- and --- >) the line.
-
Thanks it works :D
In templates, comment back (remove <! -- and --- >) the line.
Only comments should be removed. Not working otherwise .