Page Index Toggle Pages: 1
There are no actions to perform.
Normal Topic Quoting an image, different behavior (Read 1,194 times)
Allison_A
YaBB Newcomer
*
Offline



Posts: 49
Location: Portland, OR
Quoting an image, different behavior
Nov 28th, 2010 at 5:15am
There are no actions to perform.
I recently upgraded from 2.2.3 to 2.5AE with a new install, and one behavior I've noticed that is different is how images are treated when quoted.

Before the upgrade, when you quoted a message with an embedded image, the image changed to a link to the image, which was great. áIt didn't take more bandwidth that way.

Now, when I quote a post with an image, I just get the image tag with nothing else.

Here is what my test post looks like after I quote it, then modify it to see the code:
Code
Select All
[quote author=admin link=1290921096/0#0 date=1290921096]Test image

[img]http://www.soccercityusa.com/timbers/2001c-5.jpg[/img] [/quote]
 



But visually, it looks like this:
Code
Select All
Test image

[img]
 



All I see is the image tag. áI want to get back to having a quoted image change to a link to the image.

Thanks as always for any help anyone can provide.
« Last Edit: Nov 28th, 2010 at 5:16am by Allison_A »  
Back to top
 
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Quoting an image, different behavior
Reply #1 - Nov 28th, 2010 at 9:36am
There are no actions to perform.
Hi
check this new option in Admin Center -> Forum Settings -> General - Show / Hide Items

If checked, embedded images within posts will appear in quotes of those posts.
If disabled, images in quoted posts will be shown as links to the images.
« Last Edit: Nov 28th, 2010 at 9:38am by Jet Li »  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Captain John
Ex Member


Re: Quoting an image, different behavior
Reply #2 - Nov 28th, 2010 at 3:06pm
There are no actions to perform.
Allison_A wrote on Nov 28th, 2010 at 5:15am:
But visually, it looks like this:
Code      Select All

Test image

[img]


   There was bug in the Y2.5 Template when first released .. effecting quotes and tags

http://www.yabbforum.com/community/YaBB.pl?num=1278599869/6#6
  
Back to top
 
IP Logged
 
Allison_A
YaBB Newcomer
*
Offline



Posts: 49
Location: Portland, OR
Re: Quoting an image, different behavior
Reply #3 - Nov 28th, 2010 at 11:01pm
There are no actions to perform.
I did the Template update you linked to, and confirmed that "If checked, embedded images within posts will appear in quotes of those posts.
If disabled, images in quoted posts will be shown as links to the images." is unchecked, but I am still seeing the same behavior.

If I check it, the image appears inside the quoted text, so that behavior seems to work.  But if unchecked, I am not seeing a link to the image, only the image tag (opening tag only) as shown above.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Quoting an image, different behavior
Reply #4 - Nov 29th, 2010 at 12:41am
There are no actions to perform.
mmmm your sure the img tag is correct in the original post ?  Opening and closing tags ?
  
Back to top
 
IP Logged
 
Allison_A
YaBB Newcomer
*
Offline



Posts: 49
Location: Portland, OR
Re: Quoting an image, different behavior
Reply #5 - Nov 29th, 2010 at 1:18am
There are no actions to perform.
The tags look good when the code is modified, but things get weird when you quote a post with an image in it.

Here is what the posts look like in the forum, with the last post quoting the one above:


Here is what the last post looks like when modified:
« Last Edit: Nov 29th, 2010 at 1:19am by Allison_A »  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Quoting an image, different behavior
Reply #6 - Nov 29th, 2010 at 3:10am
There are no actions to perform.
Yep ... it is a bug ...
  
Back to top
 
IP Logged
 
Carsten
Ex Member


Re: Quoting an image, different behavior
Reply #7 - Nov 29th, 2010 at 3:29am
There are no actions to perform.
In YaBBC.pl find:
Code
Select All
		$tmp_message =~ s~\[img(.+?)\]~[img\]~isg; 


and replace it with:
Code
Select All
		$tmp_message =~ s~\[img (.+?)\]~[img\]~isg; 

  
Back to top
 
IP Logged
 
Allison_A
YaBB Newcomer
*
Offline



Posts: 49
Location: Portland, OR
Re: Quoting an image, different behavior
Reply #8 - Dec 1st, 2010 at 2:19am
There are no actions to perform.
Thank you very much.  That fixed the problem.

I appreciate all your hard work on this excellent software, that I am now coming up on eight years since I first installed it, and nearly 375,000 posts on my board and counting.  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
There are no actions to perform.