Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthoroliver
    • CommentTimeFeb 22nd 2010 edited

    Plogger is the perfect system for me, with only ONE exception, and in order to obtain it, I'd be ready to pay, or to donate, gladly !
    (Of course, once I obtain the addition I need, I see absolutely no problem with that feature becoming available for everyone, being added into your development trunk. )

    Could that be possible ?

    The feature I need could be summarized like that : adding a "generate html code" function for all the pictures of an album, so that I can obtain a hyperlink-over-thumbnail HTML code to insert into my wordpress blog.

    At the present time, plogger and my blog each have their own domain and hosting accounts, and I cannot fully integrate plogger into my blog, my blog's traffic is too big and I don't want to overload my mutualized server.
    The solution for me is to use a gallery system that lets me paste into the source code of my blog posts a simple < a href="" > < img src="" / > < /a > HTML code, repeated for each of the pictures of the album in a single complete line.
    A bit like the picture host (they don't have the rest of plogger's features, but you can make yourself an idea maybe)

    Actually, I can do that already, copying the source code around the thumbnails as they're shown in my plogger gallery management page - but then I have to manually cleanup the code of all css and div tags that are plogger-specific.
    It would be much more simpler if that was an option that plogger offers me.

    So, well, do you think it could be possible ? I definitely believe this would be an excellent feature, allowing plogger to reach a much wider audience (ALL the webmasters inserting pictures into their blogs !), and if I can be the "trigger" making this function become available, I'd be happy to, even at the expense of a few bucks :)

    Thanks for reading me, and - who knows ! - thanks if you can help me :)
    • CommentAuthoroliver
    • CommentTimeMar 22nd 2010
    Well, if I did that, I would lose the option to control the way my theme looks like, if you see the idea ;)

    Mind you, it's true that it wouldn't be too complicated to just edit the part regarding the way the thumbnails-hyperlinks combo are shown in the admin's albums page.

    If that's for just a simple element like that, how about 20 US$ ? Time is money, with the time it would take me to find how to do it, it would be a bargain for you who knows what file to edit, and for me too, I'd save hours of searching ^^

    I don't check this thread more than twice per month, so there's no pressure in responding super-fast ;)
    If your reply would be "sure let's do it", I suggest you give your contact info.
    • CommentTimeMar 23rd 2010
    @oliver: Apologies for not getting back with you regarding this request. I did a bit of work and was able to add a box containing the thumbnail code (sans any styling) with each image in the Admin>Manage area. Here's a screenshot of what I did:

    Image Thumbnail HTML Code

    Let me know if this is what you are looking for.
    • CommentAuthoroliver
    • CommentTimeMar 29th 2010
    Hello Kimparsell,

    That's the gist of it, indeed, thank you :)

    You're getting closer to the hearts of webmasters ;)

    If I may make a suggestion, the "definitive" thing I'd need would be to be able to obtain the code for more than one picture at a time, for all the pictures inside a given gallery.
    As Hfink suggested, a workaround would be to obtain the code, without style formatting, for the list of the thumbnails shown in one's album management page...
    • CommentTimeApr 10th 2010
    What you are wanting would require a considerable amount of coding to achieve. I've discussed this with sidtheduck, and, while we appreciate your desire to have this functionality, we do not plan on including this in 1.0.

    I can, however, provide you with the minor code changes necessary to at least give you the functionality shown in my screenshot above. You would need to modify your Plogger install to add this.

    Open plog-admin/plog-admin-functions.php and look for line 1619:

    global $config, $empty;
    Change it to read as follows:

    global $config, $empty, $thumbpath;
    Now look for line 1686 and insert the following code directly after it (do not overwrite the code that is already there):

    <p class="margin-5 no-margin-top" id="picture-description-'.plogger_get_picture_id().'">'.plogger_get_picture_description().'</p>';
    $image_info = getimagesize($thumbpath);
    $image_info['width'] = $image_info[0];
    $image_info['height'] = $image_info[1];
    $generate_html = '<a title="'.plogger_get_picture_caption('clean').'" href="'.plogger_get_picture_url().'"><img src="'.plogger_get_picture_thumb().'" width="'.$image_info['width'].'" height="'.$image_info['height'].'" alt="'.plogger_get_picture_caption('clean').'" /></a>';
    $output .= "\n\t\t\t\t\t" . '<p class="margin-5 no-margin-bottom"><strong>'.plog_tr('Image Thumbnail HTML Code').':</strong></p>
    <p class="no-margin-top genhtml"><textarea type="text" name="genhtml" id="genhtml">'.$generate_html.'</textarea></p>

    Keep in mind, when upgrading from 1.0-RC1 to a newer version of Plogger, you will need to make this change again to retain this functionality.

    Let me know if you have any questions or problems implementing this.