Extracting Images from a Zoho Creator Report into a Pages

Extracting Images from a Zoho Creator Report into a Pages

If you’ve uploaded images in a form and can see them in your report, you might also want to display those same images inside a Page (custom HTML page).

This is useful for dashboards, profile pages, or any place where images should be visible dynamically outside the default report view

[SAMPLE CODE]
<%{
// Fetch all records from the Form’s Report
records = Profile_Report[ID != 0];
uri = zoho.appuri;
%>

<% for each rec in records {
image_link = rec.Image; // Replace 'Image' with your field name

    if(image_link != null) {
        // Convert the report URL into a usable page URL
        image_link = image_link.replaceAll("https://creator.zoho.in/sharedBy/appLinkName/", "https://creator.zoho.in" + uri);
        image_link = image_link.replaceAll("viewLinkName","All_Profiles");
        image_link = image_link.replaceAll("fieldName","Image");
    }

%>

<div class="card">
    <% if(image_link != null) { %>
        <div class="image-container">
            <img src="<%=image_link%>" alt="Image from Report" />
        </div>
    <% } else { %>
        <div class="no-image">No Image</div>
    <% } %>
    <h3><%=rec.Name%></h3>
</div>

<% } %>

<% } %>

    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts





                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator Resources



                                                                                    Zoho CRM Resources

                                                                                    • CRM Community Learning Series

                                                                                      CRM Community Learning Series


                                                                                    • Kaizen

                                                                                      Kaizen

                                                                                    • Functions

                                                                                      Functions

                                                                                    • Meetups

                                                                                      Meetups

                                                                                    • Kbase

                                                                                      Kbase

                                                                                    • Resources

                                                                                      Resources

                                                                                    • Digest

                                                                                      Digest

                                                                                    • CRM Marketplace

                                                                                      CRM Marketplace

                                                                                    • MVP Corner

                                                                                      MVP Corner







                                                                                        Design. Discuss. Deliver.

                                                                                        Create visually engaging stories with Zoho Show.

                                                                                        Get Started Now


                                                                                          Zoho Show Resources

                                                                                            Zoho Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方