13
Apr/05
22

Image2Post Plugin

Hello everybody I know I promised to post here the plugin that I have created, so here it goes.

Plugin Name: Image2Post Description: Adds an image to the beginning of the content of each post. Add Custom field “ck” with full image path, default is “/wp-images/media/” (this where you should have your img’s) anything after that needs to be added to the custom field plus the img extension. Also you can have a link under the image by filling the custom fields “imglinkleft” and “imglinktext_left” which is the link url and the text that you want them to have. There are also the same custom fields for adding a right img just change all the “left” word in the custom field’s to “right”. You also need some css code into your stylesheet, see the readme file for more info. Version: 1

Any comments, queries, suggestions you can comment here or email me using the contact me section.

Click Download to download the zip file.

Comments (22) Trackbacks (5)
  1. Make sure to annouce this plugin at WordPress support forums, so that other people could benefit.

  2. Nice. I will give it a try :-)

  3. Trying this plugin.

    O, btw, can you change the txt on the image from ‘donwload’ to ‘download’

    :)

  4. Oops :P I feel so stupid. Done and thanks for the tip.

  5. Custom field “img_left� with full image path

    can you give me a example, because I can’t put that to work! :(

    Thanks in advance.

  6. Since every image should me located in wp-images/media/ unless you change that. full image path is the rest.
    If images is in wp-images/media/cinema/hello.jpg then you should type in img_left --> cinema/hello.jpg

    Hope that’s helpful.

  7. I cant get this plugin working. I activated, but I cant get this stuff working. I don’t understand the readme file. plz tell me

  8. You need to add a custom field
    image should be in /wp-images/media/ andything after that should me added to the custom fields text.
    img is in wp-images/media/1/cinema.jpg then
    img_left and text for it 1/cinema.jpg

  9. How do i add that Custom Field??? im a real noob in PHP.

  10. Thanks,

    It works!

  11. Custom field has nothing to do with PHP.
    Where you write your entrie at the bottom of the page there is a section called Custom Field, it’s there that you need to add it.

  12. Hm … I have some problems with plugin and equix_v11 theme. The picture is displayed in the post but is too small :-( . Do you have any Idea?

  13. :) Actually I happen to do. Check the css file for the img tags and there something among the line of 80% on images remove it or make it 100% and you should me fine.

  14. is it posible to add more than two images with this plugin??
    for example i want to show first image on left side and at the top of my post,
    than the second image will be at the right side in the midle of my post and so on..
    is it posible ??

  15. @zen

    Yes anything is possible, but thats not why the plugin was created. So that would bring us out of scope. You see I’ve created this plugin because I wanted an easy way to add an image to the right or left of a post. If I want to add more than one image or if I want to do an image post meaning I will have more images than the over all text then I will do so by not using this plugin.

    I am sorry but the plugin was created because I need it.

  16. ok thanks for the quick reply..
    one more question, can you point me how to remove or modify the image frame..?

    anyway nice plugin tho.. good job

  17. owhh.. actualy there another question…
    i thing it would be nice if we could add image title/or text at the bottom of the image.

  18. ups solve for the frame problems, it’s my lazyness for not reading the readme file.

  19. it worked for me but the image does not appears near by the text. it appears top of the text. and left right function does not works. it only appears on the left and top

  20. @Serdar

    Have you read the readme.txt file in the download? It seems that you haven’t, because:

    1. It says copy the image2post.php FILE into your plugins dir and not the entire folder.
    2. It also says copy the contents of css.txt into your css file. And you didn’t do that.
    3. You are posting a comment in the wrong place. This entry was for version 1 of the plugin. Now the plugin is in version 2.1 and has it’s own page.

    Review the above and if thinks still don’t work, let me know.