WordPress.org

Ready to get started?Download WordPress

Forums

Promotion Slider
image autoresize (25 posts)

  1. thekjub9
    Member
    Posted 3 years ago #

    there are lot of plugins thay do that ... can somebody edit the code
    otherwise the images are too big :(

    in my page

    I use dynamic wight !! so it would be so appriciated if sbd. can help me how to center the image ... not start in upper left corner of the image ...
    also pls pls pls make the fancy title go away :( ... instead can there be a decent title on top of the excerpt just with bigger font and bolded ?

    http://wordpress.org/extend/plugins/promotion-slider/

  2. thekjub9
    Member
    Posted 3 years ago #

    problem

    picture alihnment you can see som proportion errors on images ...

  3. thekjub9
    Member
    Posted 3 years ago #

  4. Micah Wood
    Member
    Plugin Author

    Posted 3 years ago #

    Resizing an image that doesn't fit the space will cause the image to become disproportionate. It is best to crop your images before uploading.

    I will be releasing a newer version of the Promotion Slider soon that will allow you to use custom image sizes.

    The slider options page allows you to disable the fancy title, or title altogether. If you want to customize the way the slider operates, there are several hooks that allow you to do this. The rest can be customized through CSS.

  5. thekjub9
    Member
    Posted 3 years ago #

    Promotion Title Display enable ... OK it was unclear written there

    like on image

    I totaly prefer the first choice on the left

    and propose a new feature on the right side ... is called supertitle ...
    it allows multiple instances of your promotion

    so on one ore more pages can I have more slides with different content

    like car promotion slider, girls handbag promotion slider :) you wont mix those two things :)) just kidding :)) but a good example

    my knowledge of CSS is poor so I cant do it by myslef

  6. Micah Wood
    Member
    Plugin Author

    Posted 3 years ago #

    Not sure what you are getting at with the 'supertitle'... is that just a title that would be used on all slides?

  7. thekjub9
    Member
    Posted 3 years ago #

    basically ....
    promotion > add new ..ads one slide in promotion slider
    ... the title is (title of promotion)

    you add 5 slides on one subject and it generates one code [slider]

    but what if you want another category different group of presented slider pages on a different part of your web

    than you need > another install of the same plug-in ?
    enable generating
    widget > presentation group > presentation slider

    than you can do

    presentation group A > slider 1, 2, 3, > code [slider A]
    presentation group B > slider 4, 5, > code [slider B]
    .....
    increases flexibility dramatically

  8. thekjub9
    Member
    Posted 3 years ago #

    or PLS can you ad a layout fe. 600x600 consisting from 9times 200x200 pics pointing to promoted pages ?

    and pls name the check fields clearly fe.>

    choose graphc layout A B C (plain, no navigation, bottom minislide views)
    enable promotion title
    enable slider title
    enable excerpt
    enable fancy style

    thx ;)
    greate plugin

  9. Micah Wood
    Member
    Plugin Author

    Posted 3 years ago #

    The promotion slider will allow you to run multiple sliders that pull promotions from different categories. Just use the shortcode attributes described in the FAQ.

    I have already reworked the options panel in the upcoming release of the plugin so it will be less confusing.

  10. thekjub9
    Member
    Posted 3 years ago #

    thx man you are great

  11. thekjub9
    Member
    Posted 3 years ago #

    by the way ... you can add help text on basic promotion page in wp-admin .. shortcodes .. I was not able to find it directly I i had to go here to look into install details

  12. Happeh
    Member
    Posted 3 years ago #

    So did I read up there correctly that the only way to center an image within a widget is in the CSS?

    Seems like there ought to be a left aligned, center, right aligned, option or command somewhere?

  13. thekjub9
    Member
    Posted 3 years ago #

    arras theme

    look at this theme !!! look et the promotion features and also on lower tho promotion of standalone posts ...

    only bad thing is that when you use it its not as a plugin but is default inside a theme without further options ...

    can you use that code to make your promotion slider eaven better ?

  14. Micah Wood
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks.. I will take a look at it. And yes, changing the CSS is the only way to center an image in the slider at this time.

  15. samb0005
    Member
    Posted 3 years ago #

    Hi
    I saw that you are planning on releasing a new version of the promotion slider - I was just wondering if you have a rough idea of what it will be available as I love this plugin but need something that can resize images.
    Thanks
    Sam

  16. Micah Wood
    Member
    Plugin Author

    Posted 3 years ago #

    Currently, version 3.3.1 allows you to specify which default WordPress image size you want to use in your slider. If you are more technically inclined, you can create your own image size and use the built-in filter in my plugin to automatically use that image size in your slider.

  17. cyberico
    Member
    Posted 3 years ago #

    hi woodent, i'd like to have your help about the use of promoslider_image_size filter.

    i am testing the slider on http://www.1minutesite.com, working good but i am not able to autoresize (enlarging) the images at full slider frame (650px).

    i suppose that filter should help but i have no idea how to use it

    thnx
    enrico

  18. Micah Wood
    Member
    Plugin Author

    Posted 3 years ago #

    @cyberico,

    You would use the filter like this (add the code to a custom plugin or your theme's functions.php file):

    add_filter('promoslider_image_size', 'my_function');
    function my_function( $image_size ){
        $image_size = 'full';
        return $image_size;
    }

    The image size is actually 'full' by default. You could also provide the values: thumbnail, medium and large.

    If the images you have uploaded are smaller than the image size you are trying to apply in your filter, the images will only display the largest size that exists.

    Keep in mind that you can change the default image size for slider images across your entire site without having to use the code above. Just visit the slider options page and use the radio buttons to make a selection.

  19. thekjub9
    Member
    Posted 3 years ago #

    hi pls you told me that only possibility to change image slider alignment ... default is left ... is in CSS can you pls show me the lined I have to change > ? also 2lined before ? so I can find that part pls ?

  20. Micah Wood
    Member
    Plugin Author

    Posted 3 years ago #

    @thekjub9 - I don't recommend overwriting the CSS in the plugin itself. Depending on what your current CSS rules are, you can formulate a more specific rule that would overwrite the existing ones. The new rules can be added to the bottom of your theme's style.css file.

  21. thekjub9
    Member
    Posted 3 years ago #

    ok so pls what should I add in style.css to enable centering my images displayed in my promotion slider (now the alignment is left) I want to center it.

    pls write my what and where should I add

  22. Micah Wood
    Member
    Plugin Author

    Posted 3 years ago #

    As long as the width of an image is defined, you can do margin:inherit auto; to center it.

  23. thekjub9
    Member
    Posted 3 years ago #

    what does it mean as long as ?

    can you past a block of code so i am able to locat it in css style .php ?

  24. Micah Wood
    Member
    Plugin Author

    Posted 3 years ago #

    Try adding this to the bottom of your active theme's style.css file:

    .promo_slider_background_image img {
        margin-left:auto;
        margin-right:auto;
    }
  25. Maurisource
    Member
    Posted 2 years ago #

    Tried it out woodent and works like a Charm! THanks for that css trick.

    [sig moderated as per the Forum Rules. Stop posting links to your site!]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic