Add Media - Can see in library, but not in Post

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
belial
Regular
Posts: 6
Joined: Wed Jul 21, 2004 3:19 am

Add Media - Can see in library, but not in Post

Post by belial »

I can upload images, resize them, etc. No ImageMagick installed on this server although it will be installed on the new server next week.

But when I go and use the "Add Media" button within a post, the popup window has no images anywhere to be found to select. I have uploaded images in the Parent directory as well as in a child directory and I've verified that they are on the server and have corrrect permissions.

Any ideas? I've searched the forums to no avail.

Great product tho!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Add Media - Can see in library, but not in Post

Post by garvinhicking »

If you don't have image magick installed, did you tell s9y in the configuration not to use it? Do you have gdlib enabled in PHP then? Otherwise s9y can't parse your image...

Can you check if the images you upload get added to the database table serendipity_images?
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/
belial
Regular
Posts: 6
Joined: Wed Jul 21, 2004 3:19 am

Post by belial »

Yes, all four images I uploaded are in the DB.

I did tell the installer not to configure with ImageMagick.

Unsure about gdlib or at least I dono't see in when doing a phpinfo.

It's strange. I can see it in the Manage media section, all t=of them for instance. It's just when I go to add in an image via the popup for media, nothing no images populate.

Appreciate the help.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Okay, if you see them in 'manage media' you should see them in the 'choose from entry' popup window as well; it's basically the same codebase.

Which Serendipity version are you using?

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/
belial
Regular
Posts: 6
Joined: Wed Jul 21, 2004 3:19 am

Post by belial »

garvinhicking wrote:Okay, if you see them in 'manage media' you should see them in the 'choose from entry' popup window as well; it's basically the same codebase.
I can see it in the Media Library, just not in the resulting Media popup window.
garvinhicking wrote:Which Serendipity version are you using?
Admin Interface says: You are running Serendipity v.0.7
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Did you try to view the HTML source code of the image manager popup? Do you maybe see some errors or a missing </html> tag?
# 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/
belial
Regular
Posts: 6
Joined: Wed Jul 21, 2004 3:19 am

Post by belial »

No, the Markup looks fine. All tags closed properly and what not.

The <td>'s appear empty.
belial
Regular
Posts: 6
Joined: Wed Jul 21, 2004 3:19 am

no gdlib

Post by belial »

Special thanks got GarvinHicking for helping me out offline. Bravo.

It turns out that gdlib not being on the server (it's a temporary server) causes the images not to show in the Media link on a a New Entry page. So my issue is expected behavior and not a bug :)

Once again, kudos to the s9y team for the support. I highly recommend s9y after dealing with MovableType as well as WordPress!
Post Reply