• Hello! First off, I just wanted to mention that this plugin is great, simple, and easy to use!

    For the site I’m currently working on, the icons in the viewer don’t make to much sense to the end users. While I understand what the left and right, magnifying glass, and open in new window icons mean, by clients target audience probably won’t.

    While I haven’t touched this plugin in a few weeks/month or two ago, when I last worked with it, I had done enough trickery with the proxy.php file and my CSS to load in a custom icon sprite file, and replace all of the icons with words instead of images. (Zoom In/Zoom Out instead of magnifying glass icons)

    With that said, I could never seem to get the new sprite images to stay working as I intended, and so I moved onto other stuff I had to get done on the site.

    I’ve gone back to looking at this now, and can’t seem to load in my custom sprite file anymore. Here is the code I had changed from the proxy.php file (This was working at one point):

    # fix remaining toolbar images
    		$search[] = "/viewer/images/icon_sprites_6.png";
    		$replace[] = "http://clientsites.ca/superthrifty/wordpress/wp-content/plugins/google-document-embedder/img/icon_sprites_6.png";

    And from my CSS:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    And finally, the sprite file in question:

    http://clientsites.ca/superthrifty/wordpress/wp-content/plugins/google-document-embedder/img/icon_sprites_6.png

    Any help with this would be great appreciated!

    http://ww.wp.xz.cn/extend/plugins/google-document-embedder/

Viewing 1 replies (of 1 total)
  • Hi lawrence,

    This is an inventive use. I visited this URL:

    http://clientsites.ca/superthrifty/wordpress/flyers/counter-care-flyer

    And I see that the images are being appropriately replaced, however the dimensions are not changed from the original, leaving the words in the wrong place and clipped.

    While I can’t see your CSS, several styles would have to be modified to make this work properly. You’d then have to search and replace for those in the proxy.php or attempt to override them using another CSS and !important.

    This is beyond the scope of the current plugin implementation, but I don’t see why it wouldn’t be possible with enough CSS savvy to do this.

    Kevin

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Google Doc Embedder] Customizing Icons in Viewer Window’ is closed to new replies.