PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Images not coming into my library -- and not being watermarked

  1. Hi,

    Someone set up a gravityforms for me for users to upload properties.

    The first image is an "Image Field" and checked to be Set as Featured Image. This image imports into the wordpress library and gets watermarked by our plugin.

    All additional images are "Custom Fields" where he has the custom field name corresponding to an existing one (that matches the information inside wordpress).

    These additional custom field images do NOT get imported into the media library, nor did they get watermarked. I see they are sitting in a folder called wp-content/uploads/gravity_forms/ but I have no access to it, and more importantly these images do NOT get watermarked when I would like them to.

    My main issue here is watermarking, more than actually being able to see the image files, though that would be nice too.

    I am not sure if I should delete the custom fields and make them all image fields, but I don't see any field names for image fields, and I am afraid this is going to be a problem.

    Do you have any suggestions on what I should do so all my images uploaded via gravity forms will be watermarked?

    Thanks

    Posted 7 years ago on Thursday March 7, 2013 | Permalink
  2. David Peralty
    Administrator

    You would want them all to be Image Fields and if you want one to be a featured image, it has the options to do so. This will move them to the same place as the first image upload field you have, and should hopefully allow them to be processed by whatever other plugin you are using to watermark them. All my best!

    Posted 7 years ago on Thursday March 7, 2013 | Permalink
  3. Hi, thanks so much for replying so quickly (I just realized I am having problems with my e-mail so I didn't get the notification.

    If I change the next 8 images to images, do I have to match that in the custom fields (advanced custom fields v3.5.8.1)

    This is the coding that the images get applied to, just want to make sure I don't mess anything up and that the website won't recognize the pictures and put them in the right place. Also, a strange thing is now if someone adds any images in the custom fields, the form will act like it's uploading form but then instead of actually submitting it just brings you to the beginning of the form.

    <div class="entry-content">
    <?php
    $thumb = get_post_thumbnail_id();
    $img_url = wp_get_attachment_url( $thumb,'full' ); //get full URL to image (use "large" or "medium" if the images too big)
    $image = aq_resize( $img_url, 580, 320, true ); //resize & crop the image
    ?>

    <?php if($image) : ?>
    "> <img class="propshot" src="<?php echo $image ?>"/>
    <?php endif; ?>

    <div class="propinfo clearfix">
    <h3> Property Pictures </h3>

    <?php $img1 = get_post_meta($post->ID, 'jh_image_1', true); ?>
    <?php $img_1 = aq_resize( $img1, 130, 100, true ); ?>
    <?php if($img1!= '') { ?>
    "> <img class="propthumbs" src="<?php echo $img_1 ?>"/>
    <?php } ?>

    <?php $img2 = get_post_meta($post->ID, 'jh_image_2', true); ?>
    <?php $img_2 = aq_resize( $img2, 130, 100, true ); ?>
    <?php if($img2!= '') { ?>
    "> <img class="propthumbs" src="<?php echo $img_2 ?>"/>
    <?php } ?>

    <?php $img3 = get_post_meta($post->ID, 'jh_image_3', true); ?>
    <?php $img_3 = aq_resize( $img3, 130, 100, true ); ?>
    <?php if($img3!= '') { ?>
    "> <img class="propthumbs" src="<?php echo $img_3 ?>"/>
    <?php } ?>

    <?php $img4 = get_post_meta($post->ID, 'jh_image_4', true); ?>
    <?php $img_4 = aq_resize( $img4, 130, 100, true ); ?>
    <?php if($img4!= '') { ?>
    "> <img class="propthumbs propthumbs-last" src="<?php echo $img_4 ?>"/>
    <?php } ?>

    <?php $img5 = get_post_meta($post->ID, 'jh_image_5', true); ?>
    <?php $img_5 = aq_resize( $img5, 130, 100, true ); ?>
    <?php if($img5!= '') { ?>
    "> <img class="propthumbs" src="<?php echo $img_5 ?>"/>
    <?php } ?>

    <?php $img6 = get_post_meta($post->ID, 'jh_image_6', true); ?>
    <?php $img_6 = aq_resize( $img6, 130, 100, true ); ?>
    <?php if($img6!= '') { ?>
    "> <img class="propthumbs" src="<?php echo $img_6 ?>"/>
    <?php } ?>

    <?php $img7 = get_post_meta($post->ID, 'jh_image_7', true); ?>
    <?php $img_7 = aq_resize( $img7, 130, 100, true ); ?>
    <?php if($img7!= '') { ?>
    "> <img class="propthumbs" src="<?php echo $img_7 ?>"/>
    <?php } ?>

    <?php $img8 = get_post_meta($post->ID, 'jh_image_8', true); ?>
    <?php $img_8 = aq_resize( $img8, 130, 100, true ); ?>
    <?php if($img8!= '') { ?>
    "> <img class="propthumbs propthumbs-last" src="<?php echo $img_8 ?>"/>
    <?php } ?>

    </div>

    Posted 7 years ago on Wednesday March 13, 2013 | Permalink
  4. Do I need to give any more info for a response? It is quite annoying that the form won't submit when images are attached. Quite a waste, because this is the only reason I purchased the form plug in.

    I tried adding an image field instead of the custom field already in place, and I did not see that image anywhere in the post.

    There has got to be a solution. I'm just lost at where it can be fixed.

    Thanks

    Posted 7 years ago on Monday March 18, 2013 | Permalink
  5. I'll have David check in again on Tuesday. Thanks for your patience.

    Posted 7 years ago on Tuesday March 19, 2013 | Permalink
  6. David Peralty
    Administrator

    I can't say what you should do in ACF as I don't know that add-on. I just know our image upload fields are different than file upload fields in how they are handled or processed by WordPress and other plugins and that the image field that you have was working correctly.

    Posted 7 years ago on Tuesday March 19, 2013 | Permalink