Quantcast
Channel: Topliners: Message List
Viewing all articles
Browse latest Browse all 3418

Re: Can we enlarge the image browser?

$
0
0

Just couldnt help myself and one of my collegues asked for it, so here is an example script that adds the image name as the "alt" value of the images in the image browser. To extend it to other part of Eloqua extend the include to those pages to. Currently only setup is for landingpages.

 

// ==UserScript==

// @name        Alt names on images in Eloqua image browser

// @namespace   images.eloqua.com

// @include     https://secure.eloqua.com/Main.aspx#landing_pages&id=*

// @version     1

// ==/UserScript==

// @grant       GM_addStyle

// ==/UserScript==

/*- The @grant directive is needed to work around a major design change introduced in GM 1.0,

    It restores the sandbox.

*/

 

setTimeout(checkForImageBrowser, 500);

 

function checkForImageBrowser() {

    $.each($('.thumbnail'), function (index, value) {

        var name = value.next().text();

        value.find('img').attr('alt', name);

    });

}

 

You can also get the script from here:

Alt names on images in Eloqua image browser for Greasemonkey


Viewing all articles
Browse latest Browse all 3418

Trending Articles