Support » Plugin: Images Optimize and Upload CF7 » Add file prefix based on a CF7 field

  • Hi,

    Thank you very much for this nice plugin.
    I tried to add a prefix from a CF7 form field.
    I have a text field with the user name called [your-name] and I’d like to add it as the file prefix.
    Doing this does not work : [upload_image images-optimize-upload-296 max-file:5 id:your-name]
    The file are then renamed as : ID_your-name_initialFileName.jpg
    Is there a trick to have the file renamed as : [your-name]_initialFileName.jpg ?

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • And also EXIF data are no more present in the file after compression.

    Plugin Contributor Rustam Sibagatov

    (@bruklig)

    Hey @zzo911

    Thank you for your message!

    Unfortunately, the way you would like it to work is not available right now. But maybe we’ll try to implement it in the future releases. But we’re not sure if it’s possible, because of the way the WordPress and Contact Form 7 shortcodes work. Thanks for the idea. We’ll let you know if we have some updates on that.

    And the EXIF data is removed in order to compress the image to the maximum. That’s the whole idea of this plugin – to compress the images.

    Thank you!

    Rustam.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.