Page 1 of 1

Image visible in editor, not on page

Posted: Mon Apr 08, 2013 3:16 pm
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?

Re: Image visible in editor, not on page

Posted: Mon Apr 08, 2013 6:47 pm
by Timbalu
Of what editor are you talking about? Define this part of your description.
Give us a live blog link example, please.

Re: Image visible in editor, not on page

Posted: Tue Apr 09, 2013 9:04 am
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

Re: Image visible in editor, not on page

Posted: Tue Apr 09, 2013 9:16 am
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.

Re: Image visible in editor, not on page

Posted: Tue Apr 09, 2013 10:07 am
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

Re: Image visible in editor, not on page

Posted: Tue Apr 09, 2013 12:20 pm
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.

Re: Image visible in editor, not on page

Posted: Tue Apr 09, 2013 7:02 pm
by yellowled
Hm. Maybe I mixed up the serendipity_admin_image_selector.php with the plugin. Never mind.

YL