sizing up thumbs sizing up thumbs
 

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

sizing up thumbs

Started by nickfzx, March 04, 2007, 07:38:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nickfzx

Hey

so i would like to enlarge all the thumbs on my site from 100 pixels to around 180 pixels.

I have tried this out on a coppermine install and it works perfectly...thanks stramm for his modpack otherwise this would have taken ages.

What I have found though is that all the images are enlarged but they stay at 100 pixels and appear pixelated as the browser had cached all the previous thumbnails and is still using them.  If I reloaded the page a few times or flushed the browsers cache then the thumbnails re-load at their larger size.

This I know is not a Coppermine specific problem.   But there may be a solution.  Is it possible to change the name of the directory where all the albums are kept?  this way the browser will treat the new thumbnails as new files as they aren't in the same directory.

Is there another way round this problem?

nickfzx

sorry I found out that it is easy to rename the album directory.

is there another way of doing this without needing to rename a directory?

nickfzx

sorry to post again but I have a quick question relating to the above two posts.

What are the disadvantages to changing the name of your album directory...apart from the obvious one that all external links to image files and bookmarks to image files will become void.

It says in the configuration that:

"These settings mustn't be changed if you already have files in your database."

What is the reason for this?

I might want to do this and want to be sure that I am not going to run into hidden problems.

Nibbler

That's because you have to move/rename the albums folder yourself (outside of Coppermine). You can set up a redirect or rewrite rule to fix broken links.

nickfzx

ah ok, so there is no real reason why this shouldn't be done as long as I just manually rename the albums folder to the new name?

( thanks for the tip on the redirect rule...I imagine this will be quite easy to figure out and not really a job for the coppermine forum so I won't ask )