Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 60599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:11:14+00:00 2026-05-10T18:11:14+00:00

On our site, we get a large amount of photos uploaded from various sources.

  • 0

On our site, we get a large amount of photos uploaded from various sources.

In order to keep the file sizes down, we strip all exif data from the source using mogrify:

mogrify -strip image.jpg 

What we’d like to be able to do is to insert some basic exif data (Copyright Initrode, etc) back onto this new ‘clean’ image, but I can’t seem to find anything in the docs that would achieve this.

Has anybody any experience of doing this?

If it can’t be done through imagemagick, a PHP-based solution would be the next best thing!

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:11:14+00:00Added an answer on May 10, 2026 at 6:11 pm

    You can save a large amount of space, especially if you have a large number of images..

    Add the following to text.txt (format of the IPTC tags taken from here):

    2#110#Credit='My Company' 2#05#Object Name='THE_OBJECT_NAME' 2#55#Date Created='2011-02-03 12:45' 2#80#By-line='BY-LINE?' 2#110#Credit='The CREDIT' 2#115#Source='SOURCE' 2#116#Copyright Notice='THE COPYRIGHT' 2#118#Contact='THE CONTACT' 2#120#Caption='AKA Title' 

    Strip all existing exif data from the image

    mogrify -strip image.jpg 

    Add the credit to your image

    mogrify -profile 8BIMTEXT:text.txt image.jpg 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 69k
  • Answers 69k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer You could try first running darcs unpull on the staging… May 11, 2026 at 12:45 pm
  • added an answer I'm still new to S2 as well, but I believe… May 11, 2026 at 12:45 pm
  • added an answer We've used http://www.codeproject.com/KB/database/CsvReader.aspx with much success. May 11, 2026 at 12:45 pm

Related Questions

One of the web pages on our site is extremely long. Although the page
Very odd problem as this is working perfectly on our old Classic ASP site.
I've just built a basic ASP MVC web site for deployment on our intranet.
On our web application, the search results are displayed in sortable tables. The user
Where I work, the design and development departments are totally separated, however we (the
RPO 1.0 (Runtime Page Optimizer) is a recently (today?) released component for ASP and
Hey. We're building a large ASP.NET website, and have hired an external firm to
I work for a large-ish advertising company. We've created a very lightweight clone of

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.