Very BIG image creation!!!
-
- Posts: 72
- Joined: Tue 3. Aug 2004, 00:12
- Location: Portugal
- Contact:
Very BIG image creation!!!
Hi
After uploading a few PNG files, between 3.5 Kb and 20 Kb with thumbnails around 2 Kb each, I created some Image articles with thumbnails and "enlarge on click" option. So far so good. It works fine, and is very easy to deal with
But while browsing my new and beautiful page I see that when I click on a thumbnail sometimes the browser loads about 150 Kb to show the image, and it is smaller than the original (which takes only 20 Kb).
Any way ( a simple one ) to make the popup window load the image from the original source (upload directory), or disable the "optimization" feature ?
My old and ugly page was tremendous faster showing the images
PS: I can´t use ImageMagik, but the hosting provides PHP with GDI 2.0.?
Thanks
After uploading a few PNG files, between 3.5 Kb and 20 Kb with thumbnails around 2 Kb each, I created some Image articles with thumbnails and "enlarge on click" option. So far so good. It works fine, and is very easy to deal with
But while browsing my new and beautiful page I see that when I click on a thumbnail sometimes the browser loads about 150 Kb to show the image, and it is smaller than the original (which takes only 20 Kb).
Any way ( a simple one ) to make the popup window load the image from the original source (upload directory), or disable the "optimization" feature ?
My old and ugly page was tremendous faster showing the images
PS: I can´t use ImageMagik, but the hosting provides PHP with GDI 2.0.?
Thanks
-
- Posts: 72
- Joined: Tue 3. Aug 2004, 00:12
- Location: Portugal
- Contact:
-
- Posts: 72
- Joined: Tue 3. Aug 2004, 00:12
- Location: Portugal
- Contact:
Thanks Pappnase,
I use GD 2.0, I think...it's selected in conf.inc.php and phpinfo() says
GD Support enabled
GD Version bundled (2.0.23 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
but there is something wrong with this. Please follow the link and check the properties of the last image. The thumb takes 37 Kb, and the full image only 3.6 Kb !!!
http://www.net-disk.com/index.php?id=6,7,0,0,1,0
Thanks again
I use GD 2.0, I think...it's selected in conf.inc.php and phpinfo() says
GD Support enabled
GD Version bundled (2.0.23 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
but there is something wrong with this. Please follow the link and check the properties of the last image. The thumb takes 37 Kb, and the full image only 3.6 Kb !!!
http://www.net-disk.com/index.php?id=6,7,0,0,1,0
Thanks again
- Oliver Georgi
- Site Admin
- Posts: 9901
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
PNG does not gives good resized results - no good optimization - and screenshots will be antialiased while resized results in much lower compression like you can see when using GIF or the default.
Try to upload low compression JPEG - maybe 95% quality - and check what happens.
But it's not recommend to resize screenshots. Try to upload final sized images - will use resizing for smaller thumbnails only then.
Oliver
Try to upload low compression JPEG - maybe 95% quality - and check what happens.
But it's not recommend to resize screenshots. Try to upload final sized images - will use resizing for smaller thumbnails only then.
Oliver
-
- Posts: 72
- Joined: Tue 3. Aug 2004, 00:12
- Location: Portugal
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9901
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
I changed the "img_prev_height" to 800 there but without effect!Oliver Georgi wrote:in conf.inc.php
Code: Select all
// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 800; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds
Regards,
Dirk
- Oliver Georgi
- Site Admin
- Posts: 9901
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9901
- Joined: Fri 3. Oct 2003, 22:22
- Contact: