Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8000839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:55:26+00:00 2026-06-04T15:55:26+00:00

In my app, users can drag and drop different image files to create a

  • 0

In my app, users can drag and drop different image files to create a collage. However, I want to make it possible for users to be able to Pin the entire completed collage onto Pinterest. Currently, the ‘Pin It’ API only seems to recognize the individual images (and sometimes it doesn’t even recognize that). What’s the best way to tackle this problem?

Is there a screen capture gem that anyone would recommend that I could use to create a separate link to the user’s collage, which the user could then pin?

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T15:55:27+00:00Added an answer on June 4, 2026 at 3:55 pm

    Well, I ended up using IMGkit with wkhtmltoimage https://github.com/csquared/IMGKit.

    In my controller, I used something that looked like this:

    kit = IMGKit.new("myurl") 
    IMGKit.new('<meta name="imgkit-height" content="990"><meta name="imgkit-width" content="635">')
    send_data(kit.to_png, :type => "html", :disposition => 'inline' )  
    

    And because the gem uses send_data, I captured the image with some code like this:

    image_tag(url_for(:action => :garden_image), :size => 3)
    

    And then some CSS for the image_tag:

    <div id ="image_element" style="display:none;">
    

    Alternately, if you don’t perhaps like using the display:none in the CSS, I considered using a pop-up button labeled “Pinterest Friendly View” for accomplishing the same thing. You can also crop the image IMGKit captures with meta tags, but I struggled making that work. You can hit up the author of the gem for help on that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating design app where users can drag and drop controls to some
I have a form in my django app where users can upload files. How
I have a Canvas (lets call it the Drop Box) which users can drag
In my Javascript drag and drop build app, a variety of buildings can be
I started trying to implement drag-and-drop of virtual files (from a C# 4/WPF app)
Ok, I'm making a very basic vb.net winforms app, essentially you can drag files
I have a drag and drop application (which allows users to organize their files)
I have a canvas (Panel Control) in my WinForms app where users can drag
I use Flex 4 wish I can let users drag/drop photos from their computer
I have an app where users can sign up with Facebook, in which case

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.