Modern Layout Question

Last post 04-25-2011, 1:16 PM by Eric. 3 replies.
Sort Posts: Previous Next
  •  04-25-2011, 4:52 AM 67312

    Modern Layout Question

    Hi
     
    I am using "Modern - Layout" for displaying images in my website.
     
    How can i hide image properties (Size and Dimensions) from displaying on webpage?
     
    Thanks in advance
     
    Ram

    Ramchander Pamidimukkala
  •  04-25-2011, 10:42 AM 67316 in reply to 67312

    Re: Modern Layout Question

    Dear ramchander,
     
    Please follow steps:
    1. Open "\CuteSoft_Client\Gallery\Layout\Modern\Code.js"
    2. Find the following function:
    GalleryLayout.prototype.ShowImageTitle = function _GalleryLayout_ShowImageTitle(photo)
    {
        if(!photo.Title)
            return;
        this.dng_fileinfor.innerHTML = photo.Title + " (" + photo.Width + "x" + photo.Height + ")";
    }
     
    3.  Remove line:
    this.dng_fileinfor.innerHTML = photo.Title + " (" + photo.Width + "x" + photo.Height + ")";
    4. Test it again
     
    Thank you for asking
  •  04-25-2011, 10:59 AM 67317 in reply to 67316

    Re: Modern Layout Question

    Thanks Eric
     
    it solved my problem

    Ramchander Pamidimukkala
  •  04-25-2011, 1:16 PM 67320 in reply to 67317

    Re: Modern Layout Question

    Great.
View as RSS news feed in XML