modify metada description from image - metadata

I want to change or modify the metadata of an image, such as the name shown, and you can add a description that would be perfect. The end, is to be able to automate the loading of images in wordpress and that this, take the values of the image
I installed exiftool, but I do not see how to change or add those tags.
If the image is called
home.jpg
that the title is
Start of my presentation page
instead of
home
Sorry to explain it wrong, if you need, I give a more extensive example

Your question is a little vague on the specifics, such as where you're trying to add the metadata (local system before upload? file already on the WP system?). But hopefully this info will be helpful.
WordPress seems to auto fill the Title from the IPTC:Headline tag and the Caption from the IPTC:Caption-Abstract tag. Alternative Text and Description do not appear to be auto filled.
The exiftool command to set these values, assuming you're using the Windows exiftool executable, would be:
exiftool -Caption-Abstract="My Caption" -Headline="My Title" file.jpg
This command creates backup files. Add -overwrite_original to suppress the creation of backup files. Add -r to recurse into subdirectories.

Related

How to add metadata using Exiftool?

I have an image, where I want to create a new tag called "DepthMap" and add an image to that tag. I have searched a lot but could not find an example to do it.
Assuming you want to embed a depth map image into the XMP-GDepth:DepthImage tag, the basic command would be:
exiftool "-xmp-gdepth:DepthImage<=depthmap.jpg" File.jpg
But note that there might be other data required. See this exiftool forum post for more info. A couple changes from that post is that the config file is no longer necessary and xmp-gdepth:data is now XMP-GDepth:DepthImage as shown in the above command.

Changing the Moodle footer logo

How to change the Moodle logo which will be displayed at the footer page and change to some other logo? As per the given link 1 I have tried but I could not find the footer.html file in my themes folder.
So please help me with some other method (which does not use local machine because I'm working with a remote machine where I could access only the Moodle site, and nothing more than that) to change the logo and link of Moodle.
This depends on your theme - So you're not going to get a precise answer unless you post more details. But here's the gist:
Every theme is made in parts. Normally, you have a header, a content, a sidebar (or two) and a footer.
You want to be editing the footer file.
The footer file is going to be something within the lines of footer.html or footer.php... Something like that. Again, every theme is different so it could be called something completely different. Sometimes, you just need to dig around.
Please also consider that your footer file may also be contained in a sub-directory in your theme folder. So make sure you have a proper look before deciding to "call off the search".
Anyway, once you've found your footer file (Whatever it's called), you'll want to open it and find the image.
If the image is inserted as a HTML reference of location, you can find it by Ctrl+F and typing in the name of the image file. E.g. "footer.jpeg" or whatever.
If the image is inserted as a PHP relative reference, e.g. "$FooterImage" then don't change that, instead, find out where the variable is pointing to in terms of the file-path, and go and edit that image file via FTP instead. You don't have to keep the PHP variable, but I'd keep it in for code-integrity purposes.
Tip for the future: Please include information like name of theme and Moodle version. It enables us to help you better.
Clean Theme:
Things are a bit different with Clean Theme as it doesn't have a single footer file.
You need to go into all layout files one at a time.
Look for this div:
<footer id="page-footer">
...
</footer>
In this footer, you will find a PHP command that says:
echo $OUTPUT->home_link();
To remove the logo, remove this line.
To replace the logo, you can either:
Replace the "home_link" reference in PHP to point to the new image file.
Or
Remove the PHP line and replace it with
?><img src="link_to_your_image" alt="Logo"><?PHP
Remember, you will need to do this for all layout files.
Have a look at Footer replacement at the official Moodle Documentation. Hope that helps.

cannot find image of webite header in joomla

Am just beginning with joomla on a site that is already existing and was previously managed by someone else who is not available at the moment. I am trying to troubleshoot a problem why the website is displaying the header differently in different PCs but I am not being able to find the image of that header file. I tried to look for it under "site > media" but cannot find the image among the images in that area. I also tried to look for the path to the image through the template css and found this path ../images/logo.png which I believe must be the path to the header image but I honestly don't really know which path ../images/logo.png is but assuming it is the one under "media" then I still cannot find the image. Could you give me a clue on where the header image files could be found cause I've actually still failed? Or, could you make me understand this path ../images/logo.png or how to find an image on a joomla admin interface like say "logo.png". In fact I discover that on looking at the CSS for the template, the image paths found in it are not found in "Media"? Is there another path for the images in the template and how do I access them? I cannot FTP my host at the moment to view the physical files due to the long procedure needed so am hoping that there is a way to find it. I only have joomla admin access and nothing like Cpanel as yet. The joomla version of the site is 1.5.22 which I know is an old one but I plan to do first things first. Hope I've given enough infor.
Try using FireBug, or Chrome debugger - (press F12) and check "Click an element in the page to inspect" to see where the specific image is located exactly.

Magento how do I override/alter template/payment/form/purchaseorder.phtml file

I need to add some text to this file [template/payment/form/purchaseorder.phtml], for a particular store within clients' magento site. When I make a change to the purchaseorder.phtml file, it changes the text on all the stores. So I need to somehow customize this for one store in particular.
I have read comments on several sites, some mention changing the local.xml, change the config.xml, make changes in admin panel, but this such a small change, I don't want to disrupt anything by going overboard.
I need to extend the functionality on the backend so this change can be made for a particular store or stores. the sites has five stores built into the one install and for now I need to make the above change to just one store.
I think I need to somehow add a PO field Heading and an "Additional Text" option to the Purchase order section in image two. is this correct, if so how do I do this?
Could someone point me in the right direction to making this type of change please.
Note: I can't do the create directory structure, copy files, change needed files option
This is magento 1.7
Copy purchaseorder.phtml file from base/default directory then paste it in your current template. Now you can alter content of it purchaseorder.phtml in your current directory, it wont affect the base file.Like below,
Copy from
app/design/frontend/base/default/template/payment/form/purchaseorder.phtml
Paste to
app/design/frontend/base/current_theme/template/payment/form/purchaseorder.phtml
When you override a section, the folder structure should resemble the default template folder structure like current_theme/template/form/ payment/purchaseorder.phtml .
sorry for bad english.

Website Address Bar graphic

How do you get the graphic that is next to the address bar show up?
I have a very simple site, and I want to make a custom image, and have it show up when a user is on my site.
Thanks
Place a 16x16 favicon.ico file in your websites root directory.
You can produce one in any number of graphic editing programs (including paint).
http://www.photoshopsupport.com/tutorials/jennifer/favicon.html
I found this on wikipedia, which seems to well describe what you are asking:
http://en.wikipedia.org/wiki/Favicon
What your after is a favicon.ico file, check out the wikipedia article for more details.
There are also a number of online generators out there. See Google for more =)
favicon.ico files are also used by some browsers when a user bookmarks your site.
Make a square image and edit it the way that you want. Make sure that you don't add any small details. Next, go to http://www.favicon.cc.com/ . This site will convert your image to a supported .ico format. Rename the file favicon.ico and put it in the root directory of your site. You should have a favicon in your browser now.
This icon, is a favicon, and you have to upload a file to your site if you want it. But if you want to make your favicon work in all browsers properly, you will have to add more than 10 files in the correct sizes and formats.
My friend and I have created an App just for this! you can find it in faviconit.com
We did this, so people donĀ“t have to create all these images and the correct tags by hand, create all of them used to annoy me a lot!
The file generated comes with a small explanation on what to do with the files. We will make it better, but it's a start.
Hope it helps!