Resizing Images Doesn't Work Resizing Images Doesn't Work
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Resizing Images Doesn't Work

Started by coderoyal, June 16, 2006, 12:54:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coderoyal

Hi everyone,

I'm attempting to resize all of the images in my gallery not to exceed 800 pixels. However, I'm not having any success. I've even dumped all the internet cache and it's still there. Here are my steps:

Log into the administrator account and go to "Config."

Go to Files and Thumbnail Settings and change "Max width or height for uploaded pictures/videos (pixels)" to 800.
Change "Auto resize images that are larger than max width or height" to Yes:Everyone
Go to "Save new configuration."

Proceed to "Admin Tools."

Chose the Radio button for "Update thumbs and/or resized photos (1)"
Chose "Both thumbnails and resized pictures" inside this category.

Chose the approapriate album (Headshots). Then clicked on submit.

Results:

albums/misc/thumb_Karl031.jpg updated succesfully !
albums/misc/normal_Karl031.jpg updated succesfully !
albums/misc/thumb_Karl0028.jpg updated succesfully !
albums/misc/normal_Karl0028.jpg updated succesfully !
albums/misc/thumb_Karl007.jpg updated succesfully !
albums/misc/normal_Karl007.jpg updated succesfully !
albums/misc/thumb_Karl024.jpg updated succesfully !
albums/misc/normal_Karl024.jpg updated succesfully !
albums/misc/thumb_Karl1.jpg updated succesfully !
albums/misc/normal_Karl1.jpg updated succesfully !
albums/userpics/10001/thumb_Karlblog.JPG updated succesfully !
albums/userpics/10001/normal_Karlblog.JPG updated succesfully !

Log off, dump cache, go back to www.karlchristopher.com/gallery

Choose to view file information on a photo in the album I applied the change to. Here is the result: "1152 × 1728 - 264 KB"
It's NOT at a max of 800 pixels.

What am I doing wrong?

P.S. Incase the option in the Admin Tools was wrong, I also chose the "Reload file dimensions and size information (1)", and ran this. The result was "No problems detected." for each photo.

This didn't work either.

Any help is appreciated! Thank you,
Alan

Stramm

You'd need to resize the fullsized picture. However CPG doesn't have a function for that. My modpack is able to do that... just have a look at it. With some programming knowledge you even are able to use it without the need to install it (modify util.php using the modpacks util.php as reference)