Is there a way to let the browser resize a picture? Is there a way to let the browser resize a picture?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Is there a way to let the browser resize a picture?

Started by gosha, March 06, 2005, 02:15:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gosha

Hi!

Is there a way to modify code that shows a full size picture in a popup to let the borwser automaticly fit the image into the window? Ir maybe any advanced zoom code avaiable?

Thanks in advance,
G.

donnoman

This was a theme I had done as a proof of concept.

There's a few issues with it, but it shows that it can be done.

Fair warning this is for the development version of coppermine and there's no support.

It also won't be as easy to implement this in 1.3.2 as you will have to modify displayimage.php among other places in the theme to get it to work.

I may still implement this as a plugin to work with ANY theme in the 1.4, but Its not on my radar right now.

this link sends you to my devel install that is running the theme, and the link points you to some basic information about it, and you can download the theme as-is.

http://www.donovanbray.com/displayimage.php?album=3&pos=0&theme=anis

Tranz

At first it showed up blank for me. But then I enabled java and it worked.

donnoman

Yes its a Java, not javascript app. Thats one of the downsides.

Its not too bad of a download lag for the java applet, but it's not great either.