+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / Remove the product image

Remove the product image

13 posts, 0 answered
  1. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    16 Dec 2011
    Link to this post
    Hi,
    I use the Product Image inside the latest ProductsModule. How can I delete the image? There is not an option for this. Is this maybe a good addition for 4.4. SDK?

    Regards,
    Daniel
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    21 Dec 2011
    Link to this post
    Hello Daniel,

    Do you mean the image field that shows when you create a new product or you just want to remove the image of an existing item?

    All the best,
    Victor Velev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    21 Dec 2011
    Link to this post
    Yes, just want to remove the image of an existing item.
    There is no button for it.

    Regards,
    Daniel
  4. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    23 Dec 2011
    Link to this post
    Hi Daniel,

    Did you try finding the image for this product in the image library where you uploaded it?

    All the best,
    Lubomir Velkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    23 Dec 2011
    Link to this post
    Hi Lubomir,

    See the screenshot. There's no button:

  6. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    23 Dec 2011
    Link to this post
    Hello Daniel,

    No, what I meant is to go to Content -> Images, find the image that is associated with this product item and delete it from there. Then the product will appear without image. I hope this makes it clear.

    All the best,
    Lubomir Velkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    23 Dec 2011
    Link to this post
    Hi Lubomir,

    Yes of course, that is the dirty option. I don't want to delete images that I also use in other parts of the website. What should I do to create a button inside this 'ProductImage' control?

    Regards,
    Daniel
  8. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    27 Dec 2011
    Link to this post
    Hi Daniel,

    You would have to extend the existing ImageField, for example to add a checkbox for deleting or some button that would clear the field by inserting a Guid.Empty or an empty string in the custom field. I plan to release a second part of my blog series outlining how to use the image picker dialog. I will probably extend the existing ImageField to add this feature.

    Kind regards,
    Lubomir Velkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  9. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    27 Dec 2011
    Link to this post
    Hi Lubomir,

    Thanks for the reply.
    Just some ideas for your post:

    1. Select one or multiple images (like the control in the ecommerce module. I tried the one on the marketplace, but it doesn't work)
    2. Get the default imagepicker with crop/resize functionality.
    3. Delete the image(s)

    This is stuff I really use in each project as a custom field, and inside usercontrols. So I hope you can elaborate more in this case on how to create some generic project with a control you can use in both cases.

    Thanks,
    Daniel
  10. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    28 Dec 2011
    Link to this post
    Hello Daniel,

    Yes, the plan is to include all three points you outlined and maybe some more. Stay tuned.

    Regards,
    Lubomir Velkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  11. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    10 Jan 2012
    Link to this post
    Any news on this? I tried to implement the ImageField control from the MarketPlace but have no success installing it.

    I see there also is a nice ImageSelector that comes with the ModuleBuilder. Isn't it easy to implement this as a standard field type for custom fields in general?

    Anyway, I'd love to know how to implement these selectors as a custom image field.

    Thanks,
    Daniel
  12. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    11 Jan 2012
    Link to this post
    Hi Daniel,

    I'm currently working on this. I plan to release a blog post about creating a Sticky Notes module for your Dashboard today and this will be the next blog post I'll be working on.

    Regards,
    Lubomir Velkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  13. marta
    marta avatar
    1 posts
    Registered:
    12 Mar 2013
    12 Mar 2013 in reply to Lubomir Velkov
    Link to this post

    Hi,

     I need the same functionality. Is it ready to use? If not,, please give me some indication how to do it by myself

13 posts, 0 answered