Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $25.00
Net Balance: $23.57
Left to go: $76.43

Donations
Anonymous ($15)Jun-14
Anonymous ($10)Jun-10

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 87 2013 Abuse admin Amazon AntiHarvesting AntiMalUser AntiSpam API bags Beats billige black Blocks blue Bootstrap Captcha cell Christmas chronolabs content Conversion demo docek download Dresses editor evden eve facebook floor free herre Honeypot Human IP IPInfoDB jQuery kantor lamps Language log logger Lucire mobile module modules Monster mulberry MyAlbum-p newbb news online PageRank pandora Password Permissions pink Plugin portal preloader Prevention profile project propose Protector publisher Rights rmcommon Room sale security Server site Smarty SOAP Songlist Spam stem Studio tag tags tdmcreate template Theme themes TinyMCE User userlog website Whitepaper Wishcraft XIPS xoops Xortify ZendFramework

New Users

Registering user

# 136106

g_capobianco

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 2008/9/27 14:39 CaricaFoto
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?

Top

harwin
Just popping in
Just popping in
Joined:
2005/7/27 11:53
Group:
Registered Users
Posts: 13
(Show More) (Show Less)


#2 Posted on: 2008/9/27 19:28 Re: CaricaFoto
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.


Top


The art of asking questions.
ghia
Community Support Member
Community Support Member
Joined:
2008/7/3 14:19
From Belgium
Group:
Registered Users
Posts: 4946
(Show More) (Show Less)


#3 Posted on: 2008/9/28 2:26 Re: CaricaFoto
Thx!

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

[ Changed it and it works like a charm! ]

Top

harwin
Just popping in
Just popping in
Joined:
2005/7/27 11:53
Group:
Registered Users
Posts: 13
(Show More) (Show Less)


#4 Posted on: 2008/9/29 18:53 Re: CaricaFoto
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?

Top

Sir_Saeed
Just popping in
Just popping in
Joined:
2007/10/10 7:08
Group:
Registered Users
Posts: 41
(Show More) (Show Less)


#5 Posted on: 2008/11/17 4:05 Re: CaricaFoto
@Sir_Saeed: What I also did was reinstalling the system module.


Top

harwin
Just popping in
Just popping in
Joined:
2005/7/27 11:53
Group:
Registered Users
Posts: 13
(Show More) (Show Less)


#6 Posted on: 2010/3/31 9:45 Re: CaricaFoto
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.

Top

Feichtl
Not too shy to talk
Not too shy to talk
Joined:
2004/11/8 3:00
From Austria
Group:
Registered Users
Posts: 120
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]