Bug #14788
closedtslib_cObj::imageLinkWrap not passing information if image.imageLinkWrap.JSwindow.altUrl set
0%
Description
providing a different url to replace showpic.php by TS
image.imageLinkWrap.JSwindow.altUrl=typo3conf/ext/fdfx_showpic/showpic.php
doesn't pass any information on image file, additional params etc, i.e.
before (w/o .altUrl): e.g. openPic('showpic.php?imglist=uploads%2Fpics%2F2113_10.jpg%7Cupload...',...
after (w .altUrl as mentioned above): e.g. openPic('typo3conf/ext/fdfx_showpic/showpic.php',...
This behavoir can be found to ALL versions of Typo3.
(issue imported from #M1153)
Files
Updated by Peter Russ over 19 years ago
to test just try:
image.imageLinkWrap.JSwindow.altUrl=showpic.php
which is replacing showpic.php by itself.
Updated by Stanislas Rolland over 18 years ago
This change prevents postprocessing of showpic parameters and recalculation of the md5 parameter, since the value calculated in tslib_cObj is appended to the url.
I think that if this altUrl feature is used, it should be up to the script using it to add any required parameters using postUserFunc.
I would propose to revert this change.
Updated by Michael Stucki over 18 years ago
Sorry, it took a little longer to get back to this. Attached is a patch that adds a new property which can be used to disable the addition of the parameters. Thanks to Dirk Hoffmann.
Updated by Michael Stucki over 18 years ago
Fixed in 4.0.1 and 4.1-dev. You can now set a new TypoScript property "JSwindow.altUrl_noDefaultParams" which skips adding of these parameters.