Image visible in editor, not on page

Found a bug? Tell us!!
Post Reply
jschulenburg
Regular
Posts: 31
Joined: Fri Feb 11, 2011 3:08 pm

Image visible in editor, not on page

Post by jschulenburg »

Hi,

On my blog, schulenburg-it.nl and schulies.org (private) i'm using S9Y. When adding an image to the editor it is visible within the editor but not on the blog. I discovered that, when adding the image, the code is somewhat different with older posts:

Correct:

Code: Select all

<a href="/uploads/Afbeeldingen/VMware/2013-04-03-08DeepSecvSwitch.jpg" class="serendipity_image_link"><img src="/uploads/Afbeeldingen/VMware/2013-04-03-08DeepSecvSwitch.jpg" class="serendipity_image_center" Style="width:420px; height:150;" /></a>
InCorrect:

Code: Select all

<a href="/uploads/Afbeeldingen/VMware/2013-04-03-08DeepSecvSwitch.jpg" class="serendipity_image_link"><img width="420" height="150" src="/uploads/Afbeeldingen/VMware/2013-04-03-08DeepSecvSwitch.jpg" class="serendipity_image_center" /></a>
Where does this come from? I've updated everithing to 1.6.2 (also wrong) and today to 1.7rc3. I've also updates plugins via Spartacus on a regular basis?
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Image visible in editor, not on page

Post by Timbalu »

Of what editor are you talking about? Define this part of your description.
Give us a live blog link example, please.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
jschulenburg
Regular
Posts: 31
Joined: Fri Feb 11, 2011 3:08 pm

Re: Image visible in editor, not on page

Post by jschulenburg »

I'm using the standard WYSIWYG editor in S9Y (Xinha?). What i see happening is:

- I add an image (clickable, popup, resized)
- the image is visible in the editor
- the image is not visible on the blog (but clickable/popup)

Example: http://www.schulenburg-it.nl/archives/7 ... -view.html
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Image visible in editor, not on page

Post by Timbalu »

That is because your <a href link is fine, but the included image points to

Code: Select all

<img class="serendipity_image_center" width="157" height="95" border="2" src="http://www.schulenburg-it.nl/serendipity_admin_image_selector.php?serendipity[image]=184&serendipity[disposition]=inline&serendipity[step]=showItem&serendipity[resizeHeight]=95&serendipity[resizeWidth]=157">
instead of

Code: Select all

<img class="serendipity_image_center" width="157" height="95" border="2" src="/uploads/Afbeeldingen/VMware/2013-04-03DeepSecLogo.jpg">
If that is produced by Xinha, this is odd. I think it is in the serendipty wrapper functions for Xinha image usage, which does not get translated to the real url, ...somehow.
Best is to work around manually until someone with knowledge finds time to check this behaviour.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Image visible in editor, not on page

Post by yellowled »

Can we eliminate the possibility that this is an issue with Image Selector Plus (Plugin: Extended options for media manager)? Can you still add images “the usual way” (sorry, I have never used Image Selector Plus), e.g. directly from the media database (I think the button in Xinha is called “Manage images” or something)?

YL
jschulenburg
Regular
Posts: 31
Joined: Fri Feb 11, 2011 3:08 pm

Re: Image visible in editor, not on page

Post by jschulenburg »

I'm using that button (manage images, attached). I haven't changed anything in the configuration lately, only updated plugin/sidebar handlers if there were newer/updated ones.
Attachments
Afbeelding 2013-04-09, 11-37-04.jpg
Afbeelding 2013-04-09, 11-37-04.jpg (116.2 KiB) Viewed 4474 times
Afbeelding 2013-04-09, 11-30-41.jpg
Afbeelding 2013-04-09, 11-30-41.jpg (3.18 KiB) Viewed 4474 times
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Image visible in editor, not on page

Post by yellowled »

Hm. Maybe I mixed up the serendipity_admin_image_selector.php with the plugin. Never mind.

YL
Post Reply