Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Forum: Fixing WordPress
    In reply to: Image formatting
    Thread Starter Beniamin

    (@beniamin)

    Its a little bit complicated. I have installed 3 plugins for doing this one: ImageManager, rc:custom_field_gui and Get Custom Field Values… u can found them in the plugin codex section.

    Whit the first one… ImageManager … i’m uploading the image from my computer in an /images/ directory and auto creating the thumbnails in /images/thumb/ directory.

    After that i have installd rc:custom_field_gui and addet a simple custom field to all the posts:

    [Images]
    type = textfield

    Them the 3’rd plugin, Get Custom Field Values, addet the code to the loop of my pages (index.php and single.php)

    For the thumb in index.php i have add:

    <?php echo c2c_get_custom(‘Images’, ‘<img alt=”images” class=”images” src=”path/to/my/direcoty/images/thumb/’, ‘.jpg” />’, ”); ?>

    And for the original format image in single.php:

    <?php echo c2c_get_custom(‘Images’, ‘<img alt=”images” class=”images” src=”path/to/my/direcoty/images/’, ‘.jpg” />’, ”); ?>

    any questions?

    Forum: Fixing WordPress
    In reply to: Image formatting
    Thread Starter Beniamin

    (@beniamin)

    Problem solved just like i wanted to. If someone is interested how i made it … ask… right now i’m happy…

    Forum: Fixing WordPress
    In reply to: Image formatting
    Thread Starter Beniamin

    (@beniamin)

    Maybe an ideea for an nice plugin….. something like this can solve the problem.

    A plugin that creates a custom field for all the posts in the blog. In the field you will have only to insert the image name (ex: myphoto.jpg). If you are viewing the main page, then the script will display the thumbnail (thumbmyphoto.jpg) and in the single page – the post whit the real img.

    If a post will not contain an image, the code will be remove…

    just an ideea … i don’t know how to do this, maybe there is something similar to my ideea, or someone will like to create one.

    Forum: Fixing WordPress
    In reply to: Image formatting
    Thread Starter Beniamin

    (@beniamin)

    double post – delete this one

    Forum: Fixing WordPress
    In reply to: Image formatting
    Thread Starter Beniamin

    (@beniamin)

    and can u give me an example of something like this – code page, plugin, etc…

    Forum: Fixing WordPress
    In reply to: Image formatting
    Thread Starter Beniamin

    (@beniamin)

    Right now i’m using ImageManager…. this script creates the thumbnails, but i dont know how to add them directly to my page… any help….

Viewing 6 replies - 1 through 6 (of 6 total)