Forums

PictPress (30 posts)

  1. Curioso
    Member
    Posted 5 years ago #

    I created yet another picture/thumbnail plugin, PictPress.
    I implemented and tested this under 1.2 beta/delta.
    PictPress automatically appends thumbnails and picture pages for all images in a directory to a post when pressing Publish. I use it to transfer a large collection of pictures from a PhotoFrame based site to a new WordPress based site.
    It is still rudimentary, but working.

  2. NuclearMoose
    Member
    Posted 5 years ago #

    Looks like a great plugin, Curioso! Thanks for creating it and sharing with the rest of us.

  3. Anonymous
    Unregistered
    Posted 5 years ago #

    Looks nice. Here is a another spin to this idea. Create single post from each photograph in a directory. So for example there is a directory where you dumb each of your photographs. Wordpress/Plugin/regular job automatically makes a single post for each photograph.
    It is essentially doing what you can acheive by creating a single post and attaching an image with it. I know few people have their photolog like that take a look at this
    http://www.prashantmullick.com/plog
    But my suggestion would make them only upload and enteries are made automatically.
    Pankaj

  4. Vohiyaar
    Member
    Posted 5 years ago #

    Pankaj,
    Here is how I have setup my photolog that you mentioned in your post.
    posts_per_page is set to 1
    what_to_show is set to posts paged
    archive_mode is monthly
    I am using WP 1.01 I upload my pictures via FTP and then include a link in the post.
    I have the 'image' quicktag modified to accept the name of the file, when I click on it. I have also modifiedit so it spits out directly the proper location of the image file and the div that gives it the border and padding.
    I do this because I like to compress my images using GIMP and do not trust image modification tools to do it automatically after I have posted the image.
    You can find info on how to modify the quicktags from the WordPress Wiki.
    Hope this helps.

  5. pankaj
    Member
    Posted 5 years ago #

    Vohiyaar
    Thanks for the detailed info. I want to eliminate the process of creating an entry. Sort of Gallery + comments. Pictorialis sort of does the same but what I am looking is a sort of plug-in which you can activate.
    Pankaj

  6. LaughingLizard
    Member
    Posted 5 years ago #

    Wow...good job! That was going to be the next step in Pictorialis. If you dont mind, I would like to offer this as an extra plug-in for pictorialis.

  7. Curioso
    Member
    Posted 5 years ago #

    LaughingLizard, I am not using Pictorialis because I would like to stay with the main stream of WordPress. You can use/adapt my plugin if you want.
    Pankaj, I am not interested myself in the automatic single post per picture option. What you want sounds like an adaptation of the blog-by-mail script, this now polls a POP mailbox, but could also look at an incoming directory. I have coupled it to the Publich form because this gives me a chance to add metadata and comments before I publish the post.

  8. Benoit
    Member
    Posted 5 years ago #

    Okies, the dense newbie strikes again. I've installed PictPress and activated the plugin just fine. Where I'm totally lost is when I get to the uploading/posting instructions.
    It says:

    First upload one or more JPEG images to the permalink directory you want to use
    (I use YYYY/MM/post-name myself).

    You lose me right there. :) The way I understand things so far, the permalink directory is virtual. For example, if I have a post that's at http://blog-cafe.com/archives/315/ if I log on via FTP and look for that directory, it does not actually exist. So, how exactly do I proceed to upload the images and where? (Told you I was a total newbie...)

  9. Curioso
    Member
    Posted 5 years ago #

    > So, how exactly do I proceed to upload the images and where?
    Normally the permalink directory would be virtual, but my plugin assumes it does also exist as a real directory; this does not interfere with the normal operation of WordPress.
    So you would have to create a directory archives/315 within your site directory via FTP and upload images to this directory. This might be a problem because you maybe do not know the post-ID yet when publishing...
    I am running WordPress on a home Linux server and can just copy/export images to a directory shared via Samba, from my iMac computer....

  10. moxie
    Member
    Posted 5 years ago #

    As I see it now it's almost exactly what I had in mind for a photoalbum I want to create. Momentarily I'm converting my site from MT to WP, so I haven't tried it out yet.
    What would make it perfect for me is if I added these pictures to a single post which was assigned to a unique category, for instance 'animals'. The pictures should then appear in the post/category, but limited in number per page. So let's say about 20 picst per page. The pagenumbers at the bottom of the page should then point to the next 20 picts etc.
    I'm just starting myself with PHP so I wouldn't know where to begin. :(
    Also I'd like the bigger images to be popups. When having an image bigger than 600px in height it no longer fits in the browserwindow. And personally I never cared much for the "next" en "previous" thing... I prefer a quick and clear overview of the content.
    Final question: where do the comments come from at the bottom of the thumbs? Are these the filenames?
    Great plugin! As I said, almost perfect for me. :):):)

  11. moxie
    Member
    Posted 5 years ago #

    Could you tell me where I could modify the files so to make a number of pages per category? It's no rush, because like I said I'm converting by blog to WP right now. Now when I click on a page in your demo I get the larger images instead of another page with thumbnails.
    And the popup, I guess it's a matter of taste, but like in your example there are some pictures that can't be seen entirely. Without the headers and links etc. there might be enough room though. On the other hand, a lot of space around the pictures is also beneficial when viewing...
    Jpeg-comment? I'm not familiar with that. Is this only possible when using images made with a digicam?
    I read your new post on your site about your plans for the future. Like I said, sounds perfect to me!
    * I would like something like subtitles for the picture pages that are used as caption for the thumbnails.
    * Merging of new images in a picture directory with the previously generated content.
    :) :) :) :) :)

  12. Benoit
    Member
    Posted 5 years ago #

    OK. I tried that, with mixed results. Under Firefox 0.8, I get no picture, only the text I typed in the post. Under IE, I do get a broken picture link, but when I check properties for it, it gives the path to the picture as http://blog-cafe.com/images instead of, for example, http://blog-cafe.com/archives/315/
    Any idea what I'm doing wrong?

  13. Vohiyaar
    Member
    Posted 5 years ago #

    Benoit,
    Are you refering to my post? If you are, then,
    1) Did you upload the image to the directory that is mentioned in the quicktags.js file for the 'img' tag?
    2) What html tags do you see in the post area when you click the img tag and enter the filename?
    If you aren't refering to my post, then nevermind... :-)

  14. matt
    Troublemaker
    Posted 5 years ago #

    It is very likely that in the future the WP rewrite rules will get a -f and -d flag, which say "if the file or directory does not exist" which would interfere with this plugin. This won't happen for at least a few months, but I just wanted to give you a heads up. I would recommend putting things like this inte the wp-content directory, which was created just for this purpose.

  15. Anonymous
    Unregistered
    Posted 5 years ago #

    Sorry real noob here...
    Is there an actual howto / config help site some where on how to set this plugin up???
    I am kinda lost on the permalink as well.. I made the dir and tried to edit the .htaccess file... but i don't know which .htaccess i am to edit... and I tryed the link but it didn't work...
    http://mysite.com/cache/images/misc/gf.gif
    So I have this;
    /www - wordpress home
    /www_otherfiles/pictpress/ - pictpress home
    /www_otherfiles/pictpress/images/misc - a dir with a pic in it...
    my .htaccess file looks like this
    RewriteRule ^cache/([0-9]+)/(.*) /www_otherfiles/pictpress/resize.php?size=$1&path=$2
    and it is located in
    /
    /www
    /www_otherfiles
    /www_otherfiles/pictpress/
    But nothing works... any ideas???

  16. Curioso
    Member
    Posted 5 years ago #

    I have released a new version of PictPress. A lot of the things that were causing problems have been made optional.

  17. moxie
    Member
    Posted 5 years ago #

    Good to see that you're still improving this plugin. Should I wait for the 1.0 release? :)
    Is it possible to split pages? Perhaps I would like to use this plugin as a kind of photoalbum: Clicking a certain (sub)category, let's say (stray)cats, would lead to 1 post with all the images. But if I have 150 picts of (stray)cats, it would be nice to be able to split the pages just like the wp_paginate plugin, but now inside the post.
    Also I prefer popup-images (without clicking through twice for an even larger picture). It's just easier to browse. Could this be made to an option as well?
    I know I'm asking a lot, especially because I'm not writing such a plugin (wish I could though). :(

  18. moxie
    Member
    Posted 5 years ago #

    Yes, sounds like the pp_max_thumbs is the solution I was looking for.
    When displaying the images in several pages, I'll be adding new pictures continously. Is there a way to control the display of the images? Like the new ones first, the rest moving back to the next pages? Or would this mean I still have to look for a plugin that displays pictures, one in each post with date?

  19. Curioso
    Member
    Posted 5 years ago #

    Currently the pictures are sorted by filename, but this is easy to change. I will add an option pp_sort_order that can take values like filename, date and date-reverse.
    Any other wishes?

  20. Curioso
    Member
    Posted 5 years ago #

    It is up to you how you want to organize your pictures.
    You can start very simple by setting pp_image_dir to just %postname% and uploading your pictures to wp/wp-content/a-few-flowers in this case.
    I have chosen %year%/%monthnum%/%postname% myself, because this scales better with the number of pictures I take (up to about 10 sets of pictures per month). In this case you would have to upload to wp/wp-content/2004/09/a-few-flowers.
    If you produce much less pictures per month you could pick %year%/%postname% and if you produce much more pictures per month you could pick %year%/%monthnum%/%day%/%postname%.
    In principle you can change pp_image_dir later, old posts should keep working, but if you update an old post, you have to move the pictures to the new pp_image_dir location.

  21. Anonymous
    Unregistered
    Posted 5 years ago #

    Thanks for the advice. I probably have fewer than one set of pictures a month, so:
    I set up a folder called 2004 under wp-content. I put a folder called flowers under that.
    In pp_image_dir I have %year%/%postname%/
    I created a post called Flowers.
    Nothing happened! That is, no pictures are displayed. I have checked, and Imagemagick is installed on my host. I assume that if it was not PictPress would put up some kind of error message.
    I set permissions on wp-content to 777. Maybe that is wrong?
    Sorry to be a bore about this, but I would really like to get this plug-in working.
    Thanks

  22. jeremycherfas
    Member
    Posted 5 years ago #

    Ooops. That was me, above, not logged in.

  23. moxie
    Member
    Posted 5 years ago #

    And another question: When I look at your example I notice the the images/post if filed under "Music", but when I click an image it says filed under "General"?
    And does it always take you to another even larger image the second time you click the image? Or can this be sett to "off"?

  24. jeremycherfas
    Member
    Posted 5 years ago #

    Thanks Curioso.
    I went in and edited the post, and found that PictPress was looking in another directory, one that I think I had set beore for WP uploads. When I moved the flowers folder there, it worked. I was misled by the wp-content folder. That is not my upload folder, apparently.
    I'm very happy!

  25. PaulV
    Member
    Posted 4 years ago #

    Righto! smooth installation....

    Now that it is installed how do you post the link to call the image.

    # First upload one or more JPEG images to a subdirectory of the WordPress upload directory according to the setings for pp_image_dir (I use %year%/%monthnum%/%postname% myself).
    # Then create a new post that will use this directory (in my case by maing sure that date and Post Slug are the same as used for the directory).

    The above part is gibberish to me... where is this directory for me to upload pics to?

    Can I use an outsource of pics stored on say flickr and call the images from there? I would like my users to be able to upload pics as well - hence the flickr... or is there an other way to do this?

    I already have a bunch of images in wp-images/crayfish/image.jpg can I set the upload directory to that one or do I have to find this %thingy?

    http://somethin-tropical.epaulv.com

    cheers
    Paul V

  26. bic
    Member
    Posted 4 years ago #

    Thanks for this great plugin Curioso!

    I'm having a problem with setup though - I don't seem to be getting the PictPress options under WP>Options. So I can't really set my preferences. When I try to use the plugin it works except that the image tags in the posts (thumnail and image) have src="" in the source code. Any ideas?

    Thanks everyone,

    bic

  27. BillRamby
    Member
    Posted 4 years ago #

    Is there a way to get separate viewer comments per photo than per album?

    Regards
    Bill R.

  28. Curioso
    Member
    Posted 4 years ago #

    Bic, under wordpress/wp-admin/options.php you will find an alphabetical list of all options, PictPress opions all start with "pp_".
    I have to work to get a real options page...

    Bill, if you want comments per photo, you have to set pp_single_post to 0, PictPress will then generate one post per picture, including the possibility to comment per picture. If you still want all pictures in a single post, I cannot help you....

  29. dalman
    Member
    Posted 4 years ago #

    Hi Curioso,

    Thanks for the wonderful plug-in you wrote. I just have one question. The pp_single_post has a default value of 0 after I install it. Each picture will show as a post instead of hiding behind the original post. I don't know what other value this option can be set. I tried 1 and it does not have any effects. Your help is really appreciated.

    Dalman

  30. provider1
    Member
    Posted 3 years ago #

    Ive tried installing all 3 versions listed for this plugin. I could not get any to work. I am using wp 1.5.

    When uploading the pictpress.php from the 1.0 alpha version. I get an error in my admin folder.

    I tried using the previous versions and do not get any options in my admin area to see any settings. Any advice to a working download and instructions on how to install with wp 1.5?

    Thanks,

    Provider

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.