Clippings

  • Image2Post Plugin

    Posted Apr 13th, 2005 in Clippings With | 27 Comments

    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 (27)

Leonid Mamchenkov » 13. Apr, 2005

Make sure to annouce this plugin at WordPress support forums, so that other people could benefit.

Constantinos » 13. Apr, 2005
  WordPress Plugin: Image2Post by Blogging Pro » 14. Apr, 2005

[...] April 13th, 2005 WordPress Plugin: Image2Post Image2Post Plugin adds an image to the beginning of the content of each post. Add Custom [...]

Leonid Mamchenkov » 14. Apr, 2005

:)

WordPress Italy » Archivio Blog » Plugin WordPress: Image2Post » 14. Apr, 2005

[...] aquo; Plugin WordPress: Dynasignage Plugin WordPress: Image2Post Image2Post Plugin aggiunge un’immagine all’inizio del corpo di ciascun artic [...]

Mads Jensen » 14. Apr, 2005

Nice. I will give it a try :-)

Edwin » 14. Apr, 2005

Trying this plugin.

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

:)

Constantinos » 14. Apr, 2005

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

portaviii » 06. May, 2005

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.

Constantinos » 06. May, 2005

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.

Pegasus » 08. May, 2005

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

Constantinos » 08. May, 2005

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

Pegasus » 09. May, 2005

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

portaviii » 09. May, 2005

Thanks,

It works!

Constantinos » 09. May, 2005

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.

> > > m e i n . m e e r b l i c k z i m m e r . d e > > > » Blog Archive » PlugIns » 27. May, 2005

[...] > > « Mh, testest PlugIns ImagePost http://kouloumbris.com/blog/2005/04/13/image2post-plugin/ Der Beitrag wurde am Freitag 27. Mai 2005 um 12:44 [...]

Yovko Yovkov » 03. Jun, 2005

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?

Constantinos » 03. Jun, 2005

:) 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.

zen » 25. Aug, 2005

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 ??

Constantinos » 25. Aug, 2005

@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.

zen » 26. Aug, 2005

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

zen » 26. Aug, 2005

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.

zen » 26. Aug, 2005

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

Constantinos Kouloumbris Weblog » Blog Archive » Movie Collection Page » 12. Sep, 2005

[...] Movie Collection Page Around evening time of Sunday May 8th 2005 I’ve added a page called “Movie Collection” that basically gets every post from the category movie reviews strips down the image and post the image there with a link to the review in this blog. I did this with the help of a plugin I changed a bit to work with the plugin I’ve made called image2post. [...]

Serdar » 12. Oct, 2005

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

Constantinos » 13. Oct, 2005

@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.

Constantinos Koloumrbis 2004-2011 ©