1
harwin
CaricaFoto
  • 2008/9/27 19:39

  • harwin

  • Just popping in

  • Posts: 13

  • Since: 2005/7/27


Hmmm, suddently my sitelayout goes all bezirk. CaricaFoto seems to be an addition that scales images/photos, but I do not want them to be scaled.
I looked in the settings but did not find a switch of some kind, so I can turn it off.

Does anybody know how CaricaFoto can be turned off? Or even removed completely?

2
ghia
Re: CaricaFoto
  • 2008/9/28 0:28

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Go to /class/textsanitizer/image/config.php and find
'clickable'     => 1,
'resize'        => 1,

Set both to 0.
Unfortunatly, this seems to be sitewide settings, so you will no longer be able to limit the image size by default to 300 and you get no popup with the full size image when you click on it.

3
harwin
Re: CaricaFoto
  • 2008/9/28 7:26

  • harwin

  • Just popping in

  • Posts: 13

  • Since: 2005/7/27


Thx!

I do not mind if it is a sidewide setting.
Works this way for me.

[ Changed it and it works like a charm! ]

4
Sir_Saeed
Re: CaricaFoto
  • 2008/9/29 23:53

  • Sir_Saeed

  • Just popping in

  • Posts: 41

  • Since: 2007/10/10


friend, I did this changes:

return $config = array(
            
'clickable'     => 1,
            
'resize'        => 1,
            
'max_width'     => 450,
            );


but in executed code, I still have this:

<img ... onload="JavaScript:if(this.width>300)this.width=300" ... >


even, I tried this:

return $config = array(
            
'clickable'     => 0,
            
'resize'        => 0,
            );


'clickable' works, images r not links anymore, but still, r being resized!

what's the problem?

5
harwin
Re: CaricaFoto
  • 2008/11/17 10:05

  • harwin

  • Just popping in

  • Posts: 13

  • Since: 2005/7/27


@Sir_Saeed: What I also did was reinstalling the system module.

6
Feichtl
Re: CaricaFoto
  • 2010/3/31 14:45

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


Old thread, but i found a bug in /class/textsanitizer/image/image.php near line 83 to 87.

I found it by html-validating a site, where i set "clickable = 0" in /class/textsanitizer/image/config.php. I always ended up with following error:

end tag for element "a" which is not open"

So i started searching and found the closing "/a" in above lines and removed them.

Login

Who's Online

316 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 316


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits