Wednesday, January 30, 2013

CQ5 - Reference copy of images to reduce download time

The Problem

You have an image that should be exactly the same on different parts of the same page.

The Solution

Copy and Paste the image by reference.

1. Go to the page containing the original image.
2. Highlight the image, and press Ctrl-C to copy
3. Highlight the area where you want to display the second instance of the same image. Press Ctrl-Alt-V to paste as reference.

You will notice that when you update the image content and refresh the page, the same image URL is used.

It is worth noting that you must refresh the page for changes to take effect for referenced image copies.

If you want to cross reference data, read this blog entry.

No comments:

Post a Comment