The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Image Re-size Problem

View previous topic View next topic Go down

In progress Image Re-size Problem

Post by Pizza Boi on May 10th 2014, 3:42 am

Hi Very Happy

Hmm... so I was making a staff application for my forum and noticed that my Image Re-size does not re-size the imagebwi. Yes, I've set it properly, resynced, all those things.

http://ygoda.forumtl.com/t200-staff-application-5-14#1017 Here we go.

Anyone know why?

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: Image Re-size Problem

Post by SLGray on May 10th 2014, 3:48 am

I do not see an image in the post.

P.S. I am seeing what looks like a code at the top left corner: [table class="ygodata"][tr][td].


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36659
Reputation : 2444
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Image Re-size Problem

Post by Pizza Boi on May 10th 2014, 4:52 am

Hi Very Happy

I deleted that portion, I thought it was my table messing it up. You can view it if you're a member and I have sent you a PM of an admin test account.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: Image Re-size Problem

Post by Ange Tuteur on May 10th 2014, 5:09 am

Hello,

Is this the image resize from the admin panel, the one that uses javascript ?

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Image Re-size Problem

Post by SLGray on May 10th 2014, 5:57 am

After using the account you sent me, I locate the issue. When I turned off JavaScript Management, the image was resized.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36659
Reputation : 2444
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Image Re-size Problem

Post by Ange Tuteur on May 10th 2014, 6:16 am

Thanks for the info Gray,

That means that one of his scripts is replacing the HTML content after the image has been resized.

On page load :

An image dimensions are checked, if they're larger than the values in the ACP they're resized.

After this check, or during it the scripts in JS management should be ran through. If you have something that replaces the HTML of posts, then the work from the image resizer is overwritten -- even ignored.

What to look for :

Anything which modifies .post with actions such as :
Code:
var post = $('.post');
post.innerHTML = 'my HTML';

or :
Code:
$('.post').html('my HTML');

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Image Re-size Problem

Post by Pizza Boi on May 10th 2014, 6:22 am

Hi Very Happy

Ange, I cannot remove that part since I'm not sure how and I'm not sure I want to because of the affect it will do to my forum. I have sent you information about my admin test account, please help Smile .

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: Image Re-size Problem

Post by Pizza Boi on May 11th 2014, 11:03 am

Hi Very Happy

I'm bumping this please.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: Image Re-size Problem

Post by Pizza Boi on May 12th 2014, 2:49 pm

Hi Very Happy

I'm bumping this thread once again Neutral .

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: Image Re-size Problem

Post by Pizza Boi on May 15th 2014, 3:08 pm

Hi Very Happy

Please close this thread. The problem that caused this is the LGBB parser code as it ignores the Image Re-size code.

I will just try to write a new Image Re-size code.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum