You may want to directly call up an image or document you've uploaded to the system for using in an HTML element. When doing so, this requires you to know the direct (absolute) location of the specified file.
Polopoly/CP5's URL structure is straight-forward. Files are stored within objects and those objects are each assigned an ID.
Let's use the following example from CollegePublisher.com:
We've uploaded an image in an Image element:

Note the red boxes indicating the image element's ID and the filename of the uploaded image.
Check out the following URL, note the familiar numbers from the object ID, "1.1262", and the filename "490923241.png", both highlighted red below.
http://www.collegepublisher.com/polopoly_fs/1.1262!image/490923241.png
Your URL structure is just the same - just replace our domain with yours.
You can use this URL to directly link to an image using the image tag in an HTML element, or anywhere on the Internet!
Comments
Be the first to comment on this article!
