Cannot 'disable random image as folder icon' J 1.5.4

Phoca Gallery - image gallery extension
Lehoo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jul 2008, 14:54

Cannot 'disable random image as folder icon' J 1.5.4

Post by Lehoo »

On my website http://www.chor.ath.bielsko.pl is installed Joomla 1.5.4 with polish langpack and SEF404 Component because of server setings standard SEF and mod_overwrite won't work. PHP Version 5.1.2,GD Version bundled (2.0.28 compatible) The gallery is at http://www.chor.ath.bielsko.pl/index.ph ... ategories/

I've downloaded and installed the Phocaweb Gallery 1.8.8 - the only 'problem' was that it couldn't copy heading.php, however the component worked I copied it to /libraries/joomla/html/parameter/element folder like it was said in some other thread.

I also downloaded and installed (without any problems) Phoca Gallery Search Plugin - it also works.

I managed to create my own template file, with changed icons, adjusting quite a few parameters also

Code: Select all

background_color, background_color_hover
image_background_color
image_background_shadow
border_color, border_color_hover
char_length_name
categories_columns
image_categories_size
detail_window_background_color
large_image_width, large_image_height
medium_image_width, medium_image_height
admin_modal_box_width, admin_modal_box_height,
front_modal_box_width, front_modal_box_height
I decided to create a template because when I tried to change some settings in the menu's component parameter the icons (img details & download) couldn't be found and alt text was displayed, when I applied theme all settings were present, the icons too. Funny thing is that after I created and applied theme I can change settings and the icons are still present..

But back to the point. Everything was working excellent until I tried to disable display_icon_random_image parameter... (display random image as folder icon)
No matter how hard I try the images still show at random on the folder icons.

As you can see on the screenshots
Image
Image
this option is disabled in the menu's component and in the general options and also in the theme..
I also tried to uninstall the component & plugin, removing the menu and installing everything from scratch - still no luck.

Any ideas?

Thanks in advance..
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Cannot 'disable random image as folder icon' J 1.5.4

Post by caro84g »

I guess you mean, you see the random icon in the categories view (list of categories) instead of a folder? In the category view (list of thumbs) it should be a folder icon already.

In the categories view you have to set the 'image categories size' to something with a folder. The others display the image.

I hope this is your problem. If it is in the category view I wouldn't know

Good luck!

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Lehoo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jul 2008, 14:54

Re: Cannot 'disable random image as folder icon' J 1.5.4

Post by Lehoo »

Yes, I'm talking about categories view..

You mean that there is no possibility to see only one (probably the 1-st one in a folder) picture as a 'cover'? :idea:
I thought it would work this way: If I set 'Image size beside the category name' to 'Medium' AND 'Display random image as folder icon' to 'NO' then as a result we would see only one image as a 'cover' of a folder... But it seems that it won't work that way...
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Cannot 'disable random image as folder icon' J 1.5.4

Post by caro84g »

If you want to take only the first picture (instead of a random chosen one) you need to hack the PHP files. See this post:
viewtopic.php?f=1&t=1148#p6583
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Lehoo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jul 2008, 14:54

Re: Cannot 'disable random image as folder icon' J 1.5.4

Post by Lehoo »

:oops: I've asked same question as you did...
Well, it worked :)
Still, thank you very much. :twisted:
Post Reply