Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #3032
    Profile photo of Christine
    Christine
    Participant

    Looks good (as do the river pictures). I like the way you have got it centred under images

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #3033
    Profile photo of JoAnnSnover
    JoAnnSnover
    Participant

    I don’t mind at all. I’ll take what you have and modify it slightly I think. I don’t want the color in there as I think CleanTheme should control that. Right now I’m having some sort of weird problem in that I have an updated content-image.php on my site but I’m still seeing the old look (vertical bars, left aligned).

    I have cleared the browser cache, so it’s not that, and I can’t imagine where that old code is coming from… not your problem however 🙂

    #3034
    Profile photo of Christine
    Christine
    Participant

    At the moment I have the “Exclusive” box on every image page and would very much like the exclusive to be noted under the image along with number and release status.

    Could anyone do this for me please? I found the following code in symbiostock/inc/classes/cart/cart.php and have been playing with it with no success – I am not even sure if it is the correct code to start off with . Ideally I would like to add the wording
    “Only Available Here” below the image number and model release status

    product_info[0] == ‘exclusive’): ?>




    Available only from

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #3035
    Profile photo of ajt
    ajt
    Participant

    I don’t know, what changes have you made already in content-image.php to get image number and releases, but you can add something like below.

    Before (untouched content-image.php from line 45):


    <?php
    $symbiostock_post_meta = 'ss_after_img_page_preview';
    do_action( 'ss_after_img_page_preview', $symbiostock_post_meta );
    ?>

    After:

                            <?php
    $symbiostock_post_meta = 'ss_after_img_page_preview';
    do_action( 'ss_after_img_page_preview', $symbiostock_post_meta );
    if($symbiostock_post_meta[0] == 'exclusive')
    echo 'Only Available Here';
    ?>

    In code listed above it could be

    Image No. ? Model Released: ? Property Released: <?php echo $property_released;
    if($symbiostock_post_meta[0] == 'exclusive')
    echo '
    Only Available Here'; ?>


    #3036
    Profile photo of jsfoto
    jsfoto
    Participant

    I did mention this some weeks ago for Leo in Remaining Symbiostock Cleanup & Suggestions so perhaps the possibilty of showing the release information will be part of one of the updates.

    #3037
    Profile photo of Christine
    Christine
    Participant

    Thank you AJT – that works a treat. I kept losing the payment area
    Example: http://kerioakimaging.com/image/cat-and-sunflowers/
    (I was photographing sunflowers and a little helper appeared – well someone might like it 🙂 )

    Edit: PLUS – I think I have managed to edit the cart.php with breaking it, fingers crossed.

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #3038
    Profile photo of JoAnnSnover
    JoAnnSnover
    Participant

    This is an old thread, but for completeness, I thought I’d update this with my current code, which includes removing the big image number at the top of the right column in a standard 2.9.x/Dragonfly version of the site.

    content-image.php (included one line prior to my changes to locate where to start)

                            
    <a id="stock-image-preview" title="" rel="enclosure" type="image/jpeg" href=""> <img itemprop="contentURL image" class="photo img-responsive" alt="" src=""/>



    <?php //code "borrowed" from symbiostock_marketer() in marketer_functions.php
    // model release
    $id = get_the_ID();
    $model_released = get_post_meta( $id, 'symbiostock_model_released', 'N/A' );
    if ( empty( $model_released ) || $model_released == false ) {
    $model_released[ 0 ] = 'N/A';
    } //empty( $model_released ) || $model_released == false

    //property release
    $property_released = get_post_meta( $id, 'symbiostock_property_released', 'N/A' );
    if ( empty( $property_released ) || $property_released == false ) {
    $property_released[ 0 ] = 'N/A';
    } //empty( $property_released ) || $property_released == false
    ?>

    Image No. ? Model Released: ? Property Released:


    and a little later, to remove the big image number:

            



    <!--
    Image #

    -->

    #3039
    Profile photo of jsfoto
    jsfoto
    Participant

    That’s awesome … thanks everybody for sharing this!

    This is what it looks like on my site:

    http://www.flashstockphoto.com/image/portrait-of-a-handsome-young-business-man/?r=www.flashstockphoto.com

    #3040
    Profile photo of Christine
    Christine
    Participant

    Thank you Jo Ann, that was exactly what I had been looking for and not yet found.

    For some reason in my version it is

    ?>

    and not

    How the edits look on my site
    http://kerioakimaging.com/image/two-small-pumpkins-on-autumn-leaves/

    now back to editing more images 🙂

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #3041
    Profile photo of JoAnnSnover
    JoAnnSnover
    Participant

    I can’t explain that difference – I checked the copy of the file I grabbed from the live site (which I keep so I can check on changes between versions) and that says panel panel-default (I was worried I had an old file).

    BTW I love those pumpkins – and especially the background you chose of orange and yellow flowers (marigolds?) that really give such a great feel to the shot

    #3042
    Profile photo of Christine
    Christine
    Participant

    Thanks Jo Ann, yes they were marigolds, the sun was obliging nicely for me that day

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

Viewing 11 posts - 16 through 26 (of 26 total)

You must be logged in to reply to this topic.