WordPress.org

Ready to get started?Download WordPress

Forums

Shareaholic | share buttons & related posts
[resolved] [Plugin: SexyBookmarks] "Custom Sprite" errors since Sexybookmarks 3.3.4 (6 posts)

  1. kokopelli
    Member
    Posted 3 years ago #

    I'm using WP 3.1. and PHP5.

    Since V3.3.4 I (often) get these errors in the plugin admin page after saving the settings:
    WARNING: The request for a custom sprite has timed out. Reverting to default sprite files.
    and
    Changes saved successfully. However, you should try to generate a custom sprite again later.

    However, these "errors" do not seem to affect the workings of the plugin in any way ... (BTW I'm not using any "custom sprites" - only the images that come with the plugin)

    Any ideas? Thanks.

    http://wordpress.org/extend/plugins/sexybookmarks/

  2. Shareaholic
    Member
    Plugin Author

    Posted 3 years ago #

    Hi kokopelli, can you please try again. The Sprite Generator sometimes times out when our servers are being hammered with requests for new images/css.

  3. kokopelli
    Member
    Posted 3 years ago #

    So, which images/sprites have to be loaded from your website, and why? Why can't I have all images loaded locally?

  4. Shareaholic
    Member
    Plugin Author

    Posted 3 years ago #

    Just hit "save settings" again. The main image sprite will be generated, re-pulled, and saved on your server locally.

    Sprites are generated on our server as it is impossible to ship SB with every button combination possible and it is very inefficient for your website to load all 60+ images if you just plan to display say 5 buttons on your site.

  5. kokopelli
    Member
    Posted 3 years ago #

    I like your plugin, don't get me wrong, but these sprites being remotely loaded doesn't make any sense to me. All other social plugins I use and have used, serve their images and sprites locally (e.g. Sociable). Don't see why your plugin should be different.

    Honestly, I don't like being dependent on your servers for images to display on my site. And if your server is down, or slow (exactly like what is happening frequently now), it affects my website negatively too, with missing images, slower loading times and impaired functionality.

    I'm sure there is a better way than this ... just include the sprite images in the plugin, so my own site will serve them - it will be faster and much more efficient.

  6. Shareaholic
    Member
    Plugin Author

    Posted 3 years ago #

    kokopelli, allow me to clarify :)

    SexyBookmarks also serves all its files locally.

    Read on --

    SexyBookmarks supports over 80 services. An image sprite with all 80 icons is over 200kb in size. That is huge and will have slow load times (whatever time that it takes for your visitor to download a 200KB file).

    Now, ground reality is that most publishers do not display all 80 services, but pick and choose the ones that fit their audience.

    In order to reduce the size of the image sprite and as a result make everything quicker for your users, it had to be customized to the services that you specifically pick to display on your website and the order that you pick to display them vs. using a generic sprite with all 80+ services that is over 200kb+ in size and slow.

    We had two options in order to achieve this -

    a) either create a process that generates a custom sprite for you once on our server and save it on your server locally -- this happens once only when you save your settings in the admin panel. Each sprite is generated specifically and customized for the settings you choose.

    (we picked this as the better option)

    OR

    b) bundle every permutation and combination of 80+ buttons into individual sprites. It's been a while since I've done such math, but the number of combinations would be a few tens of thousands files to include in the install package, which is not at all practical and I'm sure will not be appreciated by you :)

    ---

    One of the primary reasons we have to generate custom sprites (that are generated once on our server and then stored on your server locally) is that unlike other plugins our buttons are substantially bigger in size than other plugins. Bigger buttons = bigger file sizes. Bigger buttons also equal more sharing activity btw :)

    We went through all the trouble of enabling custom sprites to make things a lot faster for you ultimately.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic