Question about Thumbnails

Free responsive Joomla 2.5 and 3.x module to present your content with easy and intuitive way.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sat Jan 22, 2011 2:44 pm
Hello,

I have problem with creating thumbnails on Linux server. when i used module on local server (os windows) there was no problem, but with Linux is some issue. i have set permissions to 777 for cache folder, my hoster said that GD Library is installed, but if it not working i must edit my PATH on /usr/lib/libgd.so.2/usr/lib/libgd.so.2.0.0, as server uses not default address as windows. i don't know where i must make this changes in code. after searching and reading many posts, i find that NSP not working on external image links. after uploading same images on my server, thumbnails created. but there is question, if on local server same project with external images works properly, why on Linux i have problem? is there some solution?

Server and other info:

PHP Built on: Linux 2.6.18-194.26.1.el5PAE #1 SMP Tue Nov 9 13:34:42 EST 2010 i686
PHP Version: 5.2.13
Web Server: Apache/1.3.42 (Unix) PHP/5.2.13 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8e-fips-rhel5
Web Server to PHP interface: apache
Joomla! Version: Joomla! 1.5.20 Stable [ senu takaa ] 18-July-2010 18:00 GMT
News Show Pro GK4 v.2.3.1

Thanks.
User avatar
Fresh Boarder

GK User
Sat Jan 29, 2011 8:51 pm
Up!

please help, if you can to share some information about my question.

Sincerely
User avatar
Fresh Boarder

GK User
Sat Jan 29, 2011 11:04 pm
Can you show us your website?
User avatar
Platinum Boarder

GK User
Sun Jan 30, 2011 8:13 am
For example i uploaded Black Swan movie poster to my host and with thumbnails it work properly, i have also Keep aspect ratio set to Yes. Other movie posters are from external url-s and images not resized. As I watched if parameters "Create thumbnails" are ON; (this value for external images is not important, as GD Library not working for external img url-s for some reasons, ON/OFF is same, nothing happens) "Keep aspect ratio" are OFF; (if i set to YES, external images are not resized, thumbnails are created only for images, that are uploaded to my host) makes thumbnails on given parameters (in pixels) for internal/external images, but (!) without aspect ratio.

to better understanding my problem, i have created two NSP modules. for one "Create thumbnails" are ON; (as i said both working same, for external img-s), "Keep aspect ratio" are OFF; (for working on external img-s) you can see, that every image, external or internal works same. i like that, but i need also keeping aspect ratio.
second module shows "Create thumbnails" are ON; "Keep aspect ratio" are ON; you can see, that external images are not resized by given sizes, as i have set to ON keep aspect ratio, but for internal imgas (Black Swan) it works properly.

hope you understand about my problem.

Thanks
User avatar
Fresh Boarder

GK User
Mon Feb 07, 2011 4:02 pm
any suggestions? will News Show Pro work well on external image url-s as on internal url-s?

I hope for your answer, I really need to clarify this matter.
User avatar
Fresh Boarder

GK User
Wed Feb 09, 2011 7:38 pm
Same problem here, but even local saved images from aggregated news don't scale with aspect ratio turned on. :(

Probably has something to do with the GD lib, but this should be fine on my system though. Output from Photoslide GK2 - Check System:

GD status : Enabled
Version of GD : bundled (2.0.34 compatible)
PNG Support in GD : Enabled

A hack for ImageMagick support option would be nice ;)

It would be great if this could be resolved in the near future as the Gavick extensions are super.
User avatar
Fresh Boarder

GK User
Mon Mar 07, 2011 12:06 pm
i have also problems

the image is scaled but the file size stays the same.
User avatar
Junior Boarder

GK User
Thu Mar 24, 2011 5:47 pm
Try 3D Thumbnail Generator to create impressive 3D thumbnails. http://www.softorbits.com/3d-thumbnail-generator
User avatar
Fresh Boarder

GK User
Fri Mar 25, 2011 2:33 pm
i have paid for gavick templates and tools and i no want pay for other components

Are there other solutions?
User avatar
Junior Boarder

GK User
Fri Mar 25, 2011 3:18 pm
It would be nice if someone from the Gavick team could answer
It seems there is an error if you changed the path to the media directory in the configuration
User avatar
Junior Boarder

teitbite
Sun Mar 27, 2011 2:16 am
Hi

Please show me Your site and send access to Joomla Panel.
User avatar
Moderator

GK User
Mon Aug 08, 2011 4:20 pm
Hi everyone..

I got the same exact problem as the threadstarter.

with following settings...

Create Thumbnails: ON
Use 2K Images: ON
Keep Scale Ratio: ON

... a image hosted on my own hosting webspace is correctly resized, scale ratio functions as well. A image from an external site (external url) isn't resized, it's just as big as the original!

But if i turn the option "keep scale ratio" to "off", then the internal and external images are displayed correctly!

So why are external images only resized when "keep scale ratio" is turned "off"?
It would be great if also external url-images can be resized and scaled correctly!
Oh yeah, i use Joomla 1.7 and News Show Pro GK4 v2, downloaded today..

Thanks for answering! =)
User avatar
Fresh Boarder

teitbite
Tue Aug 09, 2011 4:14 pm
Hi

Unfortunately images from external url cannot be converted, because servers do not allow scripts to download the image to work on it.
User avatar
Moderator

GK User
Wed Aug 10, 2011 4:59 am
Yeah ok.
But i don't understand the fact, that resizing is working properly if "Keep Aspect Ratio" is turned off, if it's turend on then resizing isn't working. In my opinion, it should be possible to get the height and width of the image (even if it's from an external url) and then to resize and calculate the correct aspect ratio.

But I'm sure i don't understand that much as you do, so thanks for your quick reply =).
User avatar
Fresh Boarder

teitbite
Thu Aug 11, 2011 4:16 pm
Hi

Most probably aspect ratio depends of the method to scale images. One method is to convers images and the second is to simply change it's dimentions using css. Css based will work on this files. But You can try to add to css:

Code: Select all
.nsp_art img {
width:100px !important;
height:100px !important;
}
User avatar
Moderator


cron