ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Embedded Image Thumbnail

November 21, 2007 8:14am

Subscribe [2]
  • #1 / Nov 21, 2007 8:14am

    LissaKay

    46 posts

    Is it possible to change the code that is generated for the embedded thumbnail link to an image? I know that I can add attributes in the File Upload Preferences area. I want to change the javascript that the upload wizard places uses to create the pop-up window with the full size image ... the stuff in red below.

    <a href=“https://ellislab.com/asset/images/team-photo/image.jpg” onclick=“window.open(‘https://ellislab.com/asset/images/team-photo/image.jpg’,‘popup’,’
    width=501,height=512,scrollbars=no,resizable=yes,toolbar=no,
    directories=no,location=no,menubar=no,status=no,left=0,top=0
    ’); return false”>https://ellislab.com/asset/images/team-photo/image_thumb.jpg</a>


    What file would I edit to change this?

  • #2 / Nov 21, 2007 9:11pm

    Erin Dalzell

    790 posts

    What embedded image thumbnail are you talking about?

  • #3 / Nov 21, 2007 9:25pm

    LissaKay

    46 posts

    Um ... the thumbnail image that links to the full size image ... in an entry. In a blog. In ExpressionEngine.

    Go to the EE Control Panel. Click Publish. Choose a blog. Write stuff. Click Upload File. Browse to image. Select destination. Upload. Click on Resize Image. Type in the dimensions. Choose Create a separate copy. Click Resize. Choose “Pop-up Thumbnail Link” under File Type. Select Location. Click on Place Image - this generates and puts the HTML and javascript code into whichever field is selected. That is what I want to edit.

  • #4 / Nov 21, 2007 9:35pm

    Erin Dalzell

    790 posts

    ah, OK. I wasn’t sure if you were talking about a weblog image or a gallery image. I am only familiar with the gallery side of things right now, sorry.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases