WordPress.org

Forums

Nivo Slider for WordPress
Transparent background and transparent PNGs (8 posts)

  1. forkie
    Member
    Posted 10 months ago #

    Is there any option to skip image cropping / rewriting and add transparent PNGs to slider?

    http://wordpress.org/extend/plugins/nivo-slider-for-wordpress/

  2. karinwatanabe
    Member
    Posted 10 months ago #

    I'm with the same doubt =/ The background transparent turns black =\

  3. karinwatanabe
    Member
    Posted 10 months ago #

    I solved this replacing the images with the black background in:
    wp-content/uploads/nivoslider4wp_files

  4. forkie
    Member
    Posted 10 months ago #

    It's not the solution, it's a workaround.

    I decided not to use Nivo Slider for WordPress, but wrote my own slider in jQuery based on Custom Post Type. Of course you have to change your template file to handle CPT and generate markup needed by script.

  5. maciekmaster
    Member
    Posted 2 months ago #

    If someone still need a solution:

    Open nivoslider4wp-show.php

    Find: <img src="<?php echo $ns4wp_filesurl.$item->nivoslider4wp_id.'_s.'.$item->nivoslider4wp_type; ?>" alt="<?php echo stripslashes($item->nivoslider4wp_text_headline); ?>" title="<?php echo stripslashes($item->nivoslider4wp_text_headline); ?>"/>

    And change '_s.' into '_o.'

    Slider will now load original image, and not written with a black background.

    Good luck.

  6. karinwatanabe
    Member
    Posted 2 months ago #

    Thanks for the answer. I'll try it!

    []s

  7. tastypixels
    Member
    Posted 1 month ago #

    Thanks heaps maciekmaster! That's an excellent and simple fix for something which has been dogging me for a while.

  8. renddrew
    Member
    Posted 3 weeks ago #

    Boo ya success! thanks!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.