images not showing.

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
gadgetgrill
Regular
Posts: 15
Joined: Wed Nov 15, 2006 12:02 am

images not showing.

Post by gadgetgrill »

hi guys,

When I try to upload an image I end up with a chunk of HTML code and the image is no where to be seen. The path is correct ( even though it is uploaded using the software itself)

I get the this when I look at the entry:

<img src="/s9y/uploads/arrive_bus_stop203.jpg" alt="" />
(instead of seeing the image)

any suggestions?
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Where are you seeing that html? If that appears in the admin screen when you're editing an entry then that is to be expected. On the other hand if you also see the html in the public part of your blog then something hasn't worked.
gadgetgrill
Regular
Posts: 15
Joined: Wed Nov 15, 2006 12:02 am

Post by gadgetgrill »

hi,

I know something hasnt worked... any suggestions what that is and how it can be resolved.
jhermanns
Site Admin
Posts: 378
Joined: Tue Apr 01, 2003 11:28 pm
Location: Berlin, Germany
Contact:

Post by jhermanns »

your description does not make it clear for me, unfortunately. could you show us where it happens so we can have a look?
chickens
Regular
Posts: 192
Joined: Wed Dec 06, 2006 12:15 am
Location: Vegas
Contact:

Post by chickens »

My guess is that you are using the WYSIWYG editor and the code is pasted in there rather than in the actual HTML version. This will cause the HTML to be converted into its HTML/HEX equivalent, meaning the browser will not parse the code as you would like. Make sure that if you are using the WYSIWYG editor you go into the HTML mode prior to inserting any HTML.

If you are however doing a pure image selection from the editor and you get that same problem then it is an error on the side of serendipity.

To verifiy either way we would need to see the site as jhermanns said.
gadgetgrill
Regular
Posts: 15
Joined: Wed Nov 15, 2006 12:02 am

image problems

Post by gadgetgrill »

hi guys,

bascially, when I try to upload an image, select it using the corrent image upload tool and click on "Done" nothing happens in the blog. The image is not shown in any window. Not even if I log out and view the blog as a normal visitor. The image is saved however as it was uploaded but it just doesnt show on the blog.. Does anyone else have a problem.

I have clicked yet on the radio button next to WYSIWYG editing.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: image problems

Post by garvinhicking »

Hi gadgetgrill!

Which browser are you using? Did you recently upgrade your s9y installation?
I have clicked yet on the radio button next to WYSIWYG editing.
Which radio buttno do you mean?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gadgetgrill
Regular
Posts: 15
Joined: Wed Nov 15, 2006 12:02 am

html code showing and not the image.

Post by gadgetgrill »

I think the image is not showing and only some CODE is because the HTML is not running and not showing the photo. Is there a way of sorting this out?

instead of seeing the picture i see:


"<img width="110" height="82" style="border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;" src="http://www.re-blog.co.uk/s9y/uploads/ar ... yThumb.jpg" /><br /> dfgvdfg<!-- s9ymdb:1 -->"



I HAVE used the correct add image tool for this so it should be working fine! but it isnt.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

There is no simple way of sorting it out, no. I think we're still trying to understand the exact problem. The majority of users can upload images, later add them into entries, and the images will appear as an image in the entry. We are assuming -- so correct us if we're wrong -- that you have uploaded the image and added it to an entry, but when you try to display the image, you get the HTML instead of the picture.

It looks like the HTML you see is the correct HTML to display the image. Your browser would have interpreted it as an image if it wasn't escaped; enter the stuff between the quotes after src= into your browser's address bar to see the picture that would have been displayed. (I get a valid thumbnail when I do that.)

So the question becomes, how did your image HTML get escaped? There are a couple of possibilities that come to mind:

1) You're using the WYSIWYG editor, and you typed the HTML for the image directly into the editor (or copied it in from elsewhere). This will cause the HTML to be escaped. If you want to type HTML in the WYSIWYG editor, you have to switch to "plain text mode" (also called "tags mode") first.

2) You've got the Wiki Markup plugin enabled. Since this plugin uses HTML-like markup, it can mess up the HTML tags. Disable the Wiki Markup plugin to see if it fixes the problem.

3) There's some bug in Serendipity we haven't discovered yet. In that case, we'll need rather detailed instructions on how you can cause the problem. We'll use the instructions to try and cause the problem ourselves. Then we can hunt it down and fix it. Make sure you tell us what version of Serendipity you have, what plugins you have installed, which template you use, and the exact steps you do to cause the problem.

4) Our assumption is wrong, and you're experiencing a different problem than the one we're trying to solve. Perhaps you're having a problem in RSS feeds, or you're seeing HTML in the entry editing box instead of the entry display. If you tell us what you expect and what you're actually seeing, including where in the blog you're seeing it, we'll adjust our assumptions to discover the problem.

I certainly hope we can help you quickly!
Judebert
---
Website | Wishlist | PayPal
gadgetgrill
Regular
Posts: 15
Joined: Wed Nov 15, 2006 12:02 am

Problem still not fixed.

Post by gadgetgrill »

Hi guys,

your are right what you have assumed is exactly the problem. I have uploaded the image, and i have inserted it in the my entry; but when I view it, or anyone for that matter all they see is HTML code. So it is escaping. I dont have a Wiki plugin, I didnt not manually put the Code there it came from when I used the specified tools in Serendipity.

Would you recommend I reinstall serendipity and just start from scratch? This picture problem has gone on for far too long.
gadgetgrill
Regular
Posts: 15
Joined: Wed Nov 15, 2006 12:02 am

suggestions.

Post by gadgetgrill »

hi people...

so what do you suggest I do? Im stuck now. I need a blog to moblog on and I cant even get an image to show on the site itself.

There must be something I could do!.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: suggestions.

Post by garvinhicking »

Hi!

1. How do you enter your entries? Via the s9y admin interface? If so, are you using the WYSIWYG editor?

2. Which browser are you using?

3. Please tell us the list of event plugins you have installed.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gadgetgrill
Regular
Posts: 15
Joined: Wed Nov 15, 2006 12:02 am

Post by gadgetgrill »

Hi Garvin.

Answers to your questions:

I am NOT using the WYSIWYG editor

I have used IE, Mozilla and Mac OsX (tried to add image to entry using all three browsers and had no luck with any)


Below are a list of all my Event Plugins:


1. [C] Markup: Serendipity
Apply basic serendipity markup to entry text
version: 1.3
2.
[C] Markup: Emoticate
Convert standard emoticons into graphic images
version: 1.4
3.
[C] Markup: NL2BR
Convert newlines to BR tags
version: 1.7
4.
Browser Compatibility
Uses different (CSS) methods to enforce maximum browser compatibility
version: 1.1
5.
[C] Spam Protector
A variety of methods to prevent comment spam
version: 1.61
6.
[C] Export blog as PDF
Allows visitors to download your blog in the PDF format
version: 1.5
7.
[C] Spartacus
[S]erendipity [P]lugin [A]ccess [R]epository [T]ool [A]nd [C]ustomization/nification [S]ystem - Allows you to download plugins from our online repository
version: 2.9
8.
[C] Start Page Category
Allows you to show only one category on the frontpage
version: 1.5
9.
[C] POPfetcher
Fetches and publishes email and attachments from a POP3 email account (with special cell phone support)
version: 1.14
10.
[C] Static Pages
Shows static pages inside your blog with your blogs design and all formattings. Adds a new menu item to the admin interface.
version: 3.38
11.
[C] Discussion forum (forum)
Provides a complete discussion forum to your users.
version: 0.14
12.
[C] User Profiles
Shows simple user profiles and allows to embed author pictures.
version: 0.17
13.
[C] Links to next/previous entry
Allows viewing the next/previous entry when viewing
version: 1.31
14.
Livesearch
Enhances the internal search function by adding live-updates on keypress (JavaScript)
version: 1.4
15.
[C] Options for trustworthy editing on multi-user blogs
This plugin can specify, which authors on a multi-user blog you have enough trust in and do not expect hacking attempts. All other users are treated as possibly evil and cannot create HTML entries.
version: 0.1
16.
Photoblog Entries
Adds a single image to an entry.
version: 1.3
17.
[C] Extended properties for entries
(cache, non-public articles, sticky posts)
version: 1.13





Hope to hear from you soon.

Has anyone else ever got such a problem?

GG
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

The plugin "Options for trustworthy editing on multi-user blogs " escapes any HTML you enter. If that plugin is installed and your group is denied HTML access, you can only enter cleartext.

So you need to remove that plugin or include yourself in a group that is allowed to post HTML!

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gadgetgrill
Regular
Posts: 15
Joined: Wed Nov 15, 2006 12:02 am

Post by gadgetgrill »

Genius... It works now.

Great work thank you.
Post Reply