[TYPO3-english] Resize images, imageLinkWrap, cursor: -moz-zoom-out;
mario
m at mariochiari.net
Thu Feb 11 13:15:38 CET 2010
Hello
I need some help on how to diplay and resize images in a pop-up window.
Most likely, this is not a Typo3 related issue, but I hope you may offer
some help anyway.
To explain what I would like, consider when mozilla diplays a .jpeg file
http://localhost/dummy-4.2.8/fileadmin/user_upload/picture.jpg
Firebug shows me the following generated source code
<img width="203" height="240"
src="http://localhost/dummy-4.2.8/fileadmin/user_upload/picture.jpg"
alt="http://localhost/dummy-4.2.8/fileadmin/user_upload/picture.jpg"
style="cursor: -moz-zoom-in;"/>
and, when I zoom in,
<img
src="http://localhost/dummy-4.2.8/fileadmin/user_upload/picture.jpg"
alt="http://localhost/dummy-4.2.8/fileadmin/user_upload/picture.jpg"
style="cursor: -moz-zoom-out;"/>
Indeed it is very nice, Mozilla resize the .jpeg and the magnifying
glass cursor works nice.
How do I get a similar effect when I use imageLinkWrap?
I have developed a simpe plugin, and use the following TS
plugin.tx_myplugin_pi1.myVar {
imageLinkWrap = 1
imageLinkWrap {
bodyTag = <body bgcolor="white">
wrap = <a href="javascript:close();"> | </a>
JSwindow = 1
JSwindow.newWindow = 1
enable = 1
}
}
A new window pop-ups ok, but I do not understand how to implement
-moz-zoom-out/in, or something similar.
Also, how do I get a scroll-bar in the pop-up window given as above?
Thanks a lot
my best wishes
mario
More information about the TYPO3-english
mailing list