Uploading Pics

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Tomon

Uploading Pics

Post by Tomon »

Can we upload more than one pic at a time? (add media)

I usually put three to four pics in every post but I can add it only one at a time.

Thank you very much :)
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

right above the go button it says Add more images. click on it and you can add as many as u want and then click "go"

remember when u make a post you still have to insert one at a time. u can only upload more than one,
Image
mcintosh
Posts: 4
Joined: Wed Jan 11, 2006 10:46 pm
Location: USA
Contact:

I cannot upload pictures

Post by mcintosh »

I just installed Serindipity and I am trying to learn its featues. I

Question #1
found the media upload section but it will not allow me to upload any pics. It says the image may be too large (not the problem I have decreased it down to 10 kb for testing) or the server might not allow it. How can I figure out what the problem is or fix it. I tried CHMOD the directory it was going to as 0777 and locked me out of the server. I had to uninstall the program and reinstall it.

Question #2
I am guessing in order to include a picture in a Blog post then I need to upload them first in th media section then I can add them into the text re when creating a new blog?? :(
Thanks, Mike McIntosh
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Question #1: Wow, that's ugly. Could you try 664 instead? And when you say 0777, are you talking about setting the permissions from a Unix shell, where that will get interpreted as octal rwx-rwx-rwx, or an FTP client that could interpret it who-knows-what?

Question #2: Yes, you add them to your media library, then use the provided button to insert them in your entries.
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

About your first question: If you cannot upload files, and your "uploads" directory is 777 and it still doesn'T work, your server does not support it. You'll need to contact your system administrator and ask for the reason.

Second question: You can upload new media items in one-go, you don't need to first upload it on a different page. When you click the "Insert Image" button and the popup shows you the media items, there's a button to "Add Images" from that same page.

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/
mcintosh
Posts: 4
Joined: Wed Jan 11, 2006 10:46 pm
Location: USA
Contact:

add media

Post by mcintosh »

I figured it out Kinda. The directory that the add media section was trying to upload the file into on the server did not exist. I had to create it and chmod it to 0775.

Now I found were I can add 1 photo into a blog from the media library but it goes were it wants to; ie at the top of the blog.

Question 1 Is there a way to have it placed where I would like it placed.

Question 2 Is there an easier way to insert picture strait into a blog without having to uplload them to the media library first?

Question 3 Is one-go a plugin? I did not see it in the plugin's. I do have the Spartacus loaded.


PS I am just rying to figure out the easiest/fastest way to add photos to a blog Any suggestions as to what plugin/method is the best?
Thanks, Mike McIntosh
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I use the "Extended options for media manager" event plugin. It's pretty useful.

I enter the text of my article; I put the cursor where I want my image to go; I click the "Media" button, and it guides me through selecting an image, adding captions, choosing image, thumbnail, or link, and pretty much anything else you want. The image is inserted at the cursor location.

If I need to upload more images, I can do it from the Media button, too. It has a field where I can browse for a file with a selector to choose a media directory (you've got to set those up ahead of time). If I want to upload more, I click the "Add more Images" button and get an extra field to fill in.

You can also upload images directly to your media directories using an FTP client, then tell media to "Rebuild Thumbs". It'll find all the new files on its own and add them to the media manager.

No, one-go is not a plugin; it's an English figure of speech meaning "at the same time" or "all at once".

I use a text-only editor. If you use WYSIWYG, things might be different. Give it a try.
Judebert
---
Website | Wishlist | PayPal
mcintosh
Posts: 4
Joined: Wed Jan 11, 2006 10:46 pm
Location: USA
Contact:

Post by mcintosh »

Thank you sir
Turning the WSIWIG off made the media button come back. But it still only puts the picture on the left or right I cannot seem to figure out how to make it go were the curso is.
Thanks, Mike McIntosh
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I think what you're experiencing is an HTML limitation.

There are three ways a pic can be handled:
1) as its own block on the left, with text above and below, but none on the sides
2) "floating" to the left, with text running down the right
3) "floating" to the right, with text running down the left

The media button provides these three options. The actual picture code is added where the cursor sits. The text before the image goes before the image; the text after the image is affected by which of the three rules you picked. So the picture will always appear to be on the left or the right in the finished post.

The only other way to affect this is with something like the <center> tag, or by assigning CSS styles to the image after it's inserted. But those things only offset the image a bit, as opposed to handling it the way magazines and newspapers do. It's still left or right, just with a gap.
Judebert
---
Website | Wishlist | PayPal
mcintosh
Posts: 4
Joined: Wed Jan 11, 2006 10:46 pm
Location: USA
Contact:

Thanks for all your help

Post by mcintosh »

Thanks for all your help. I have figured out that the first choice in the add picture box places the image in the center, then the second choice places it on the left and the last choice places it on the right. I like the frame it places around it with text at the bottom too. It seems to always place it at the bottom of my text no matter where I place the cursor.

No problem, I figured out If I want it at the top of the text then I can move the code to the top of the editing window after it inserts it and it will then show up at the top. Therefore I now have it figured out how to get it on the left, center, right, and then top or bottom. :)
Thanks, Mike McIntosh
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

There's a selection for centering? I'd better update my plugin.
Judebert
---
Website | Wishlist | PayPal
Post Reply