[TYPO3-english] How to debug popup window for click-enlarge?

Jill E. Anderson jillande at gmail.com
Tue Jun 2 20:32:25 CEST 2009


Greetings Gunnar,

On Sat, May 30, 2009 at 3:18 PM, Gunnar Jonsson <gu-jonss at online.no> wrote:
> Yes, I have set config.baseURL to the domain name with a ending slash. But I
> still do not get the image to show.
>
> The URL in the popup window is
> http://www.dola-atelier.net/index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2FDSC_0177ap800.jpg&width=800m&height=600m&bodyTag=%3Cbody%20bgcolor%3D%22black%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=5151f49c65205e70002a4074fe85ab4f
>
> I cannot see any error in this URL. If I try the URL
> http://www.dola-atelier.net/uploads/pics/DSC_0177ap800.jpg I get the image
> up without any problem.

Just the other day I observed similar behavior on one installation
relating to click-enlarge where the window would open, and only the
"broken image" browser placeholder displayed but the address of the
pop-up link looked OK.

I tracked it down to the Apache redirect rules redirecting the image
src path.  I had used the default rewrite rules provided with RealURL
with modifications to work in the server config file, but noticed I
needed to add the index.php to the RewriteRule (paths to exclude) to
prevent the image paths from being rewritten and get the
click-enlarges to work.  Specifically,
RewriteRule ^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php|index\.php)(/.*)?$
-

It might not be related in your case. Be sure to double-check the
httpd error logs.

Best wishes,

Jill


More information about the TYPO3-english mailing list