Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Blog post linking does not show images
Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2012 - 7:22 am

The plugin works fine in making the post to a topic. But when there is a picture in there it doesn't show up. It only gives a message "Image cannot be found". 
I've figured out that it has something to do with the Permalink structure of WP, but don't have a clue how to solve this problem. Tried finding a solution in the help here but cannot find how to solve this.

 

Example: http://www.capelle-fotografeer.....r/test#p17

I also use Nextgen and would like the uploads from there and the media library WP to be used. Is this possible at all?

Petra

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2012 - 8:25 am

can you please explain what you did?  images in posts should come across just fine...  however, though you said images in post, if you meant a feature image, that one currently does not come across...  but we do have a ticket for that enhancement in a future release...

why do you think its a permalink issue with wp?   in your case, it looks like the url of the uploaded image does not match the url of the actual uploaded image...  when you insert into a post using the wp media uploader, it does get the right image url...  not sure if nextgen is dorking up that url, but we grab the actual url from the attachment...

Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2012 - 8:54 am

Thank you for your quick response!

On the WP side I made a post and used the extra 'button' (text underneath with possibility to set the forum you would like to link to) and published the post in WP. On that side it appears with photo. On the forum a new item appears, with the mentioned "Image cannot be found". If I look for the link it refers to a folder called archives. This is not an actual folder I can find on the system. There is only a reference to that folder in the Permalinks part of WP.

If you click on the link with text "Image can not be found" you get the picture. 

At first I thought the problem was with Nextgen, so I tried the same from loading an image from the WP Media button. With the same result :( .

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2012 - 9:58 am

So when you hit the insert into post button in the wp media uploader, look at the post editor and see what url is entered for the image. Keep in mind, that SP has zero interaction in this media uploading. If it's correct at this point, then something else is affecting the URL at wp post saving. Might be worth looking at the URL stored in the wp post content column in the db too.

Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2012 - 11:05 am

At this point it is not possible to look in to the db content. But when I follow the links for the image I get two different things. From the post in WP I go to the image that is uploaded. When I follow the link from post in forum I get ?

I don't know how to explain what I get. The image is shown in something that looks like a post in WP, but isn't to be found as a post. That is how I got to the Permalinks. WP is set to show links in a Permalink form like this: domain.nl/archives/xx/img.jpg

Where archives is not a physical directory but a reference from WP in a neat jacket. I thought this might confuse SP when looking for the image. Because Nextgen is also in a not standard directory (made by NG), I figured that would be the problem?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2012 - 8:49 pm

cant look at db??? odd, time for new host? ;)

well, the url we look for the image at is the url that is inserted into the wp post by the wp media library or other plugin...

sounds like a plugin or theme is overriding the standard url... if we cant find the image at the specified url in the post, not sure what we can do...

at this point, I would try disabling all other plugins and doing another blog post linked to forum topic with image and see if it corrects...

Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2012 - 3:34 pm

Not a new host, just not able to look due to other work elsewhere :) .

I've tried to put an image with just the url. That worked for the post, but not for the new made post in the forum. I was wondering what the info in that post said. It was exactly what it should be, so I saved and closed the file and after that action it showed the photo. 

Got back to the earlier post and did the same, with the same result. 

Lost again on how to go on with this, so help/suggestions will be highly appreciated.

It looks like the info is correct and is transported correct to the new post, only the output is not "updated" correctly in the forum post?

If neccessary it is possible to look at the db, if you can tell what to look for (mysql is not my daily work :) ).

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2012 - 8:03 pm

It sounds like you will need to look at the html of the forum post when the image is not showing and before you edit and resave.

Like Mr. Papa said above there may be another WP plugin that is overriding something and when you edit and resave the html is fixed.

You should be able to view the html without needing to go into the database by using you browser view source or Firefoxes Firebug or other browsers inspection tool.

I would start there. Maybe even compare the html before and after you edit/save the Simple:Press post.

Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 3, 2012 - 3:21 am

Thank you for your response. I'll try these suggestions and let you know the outcome :)

Avatar
Petra
Member
Free Members
sp_UserOfflineSmall Offline
Nov 4, 2012 - 8:14 am

Not closer to a solution. Tried following:

1. Deactivate plugins 1 by 1 and after deactivating make a blog post and let it make a forum post. Text visible, image is message (Image not found) with correct reference to image

2. Tried several ways of putting image in post by direct html, insert with Media of WP and insert with Nextgen. Same out come as with option 1

3. Looked at the db before and after edit update (which still works - no show, edit, do show). I don't see a difference, only thing that changes is the edit column, which only seems logical

 

I did save a before and after version of the source code of the page, but didn't have the courage to start comparing, due to the large amount of info in both pages. Working up courage to start comparing :( .

Let you know if I find something there, but honestly I doubt that it will bring the problem solver

Any other suggestions more then welcome! 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625