Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Photo Gallery Joomla plugin.

Topic-icon Thumbnails - Display Order and Clipping Issue

More
6 years 2 months ago #8890 by steveki
steveki created the topic: Thumbnails - Display Order and Clipping Issue
Can someone help me with rendering of thumbnails by Photo Gallery Plugin?
The thumbnails seems to be trimmed top and left edge. This is obvious on those images which have a white border all around. See following page.
www.thelatentimagephotography.com.au/ind...rticle&id=6&Itemid=7

Also, I can't generate a article with images in numerical order. It works on my server but not on the hosting server.

Thanks
Steve

Please Log in to join the conversation.

More
6 years 2 months ago #8900 by ivan.milic
ivan.milic replied the topic: Re: Thumbnails - Display Order and Clipping Issue
Hi,

to sort images by name , open the plugins\content\photogallery.php

find this :
...
$html = '<!-- HOT Photo Gallery Plugin starts here -->';
$html.= '<div id="gallery">';
$image_files = get_files($images_dir);
if(count($image_files)) {
$index = 0;
...

and add sort :

...
$html = '<!-- HOT Photo Gallery Plugin starts here -->';
$html.= '<div id="gallery">';
$image_files = get_files($images_dir);
if(count($image_files)) {
sort($image_files);
$index = 0;
...

The white line on the upper and left edge is lost during residing when making thumbs. That's the way php built-in function makes it. But when the pligin is first time executed over some image it makes thumb then and that thumb stays. Location of thumbs folder in original images folder. You can run the plugin first time and then delete thumbs that it made, and using some quality tool like Adobe Photoshop or Picasa make thumbs your self and overwrite those that plugin made.

Please Log in to join the conversation.

More
6 years 2 months ago #8924 by steveki
steveki replied the topic: Re: Thumbnails - Display Order and Clipping Issue
You're a life saver!
thanks
Steve

Please Log in to join the conversation.

Time to create page: 0.114 seconds

Links, Partners and Social Media