• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Component Attributes - ImageURL

Scheduled Pinned Locked Moved Dynamic Components
sketchup
6 Posts 5 Posters 2.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    BillW
    last edited by 29 Nov 2008, 12:24

    Just out of interest - has anyone got the Component Attributes>Form Design - parameter ImageURL to work?

    Not sure if this is to display a web page link or whether it can be used to display a photo (ie image).
    I added a reference to a jpeg from a sub folder and finally from local disk C:\seat.jpg to no avail.
    No image in the Component Options dialog. I even checked if the Components palette displayed the image.
    I also checked the file suffix .jpg

    Even tried out of desperation a link to http://www.google.com Nothing happened.

    Any ideas?

    Thanks

    1 Reply Last reply Reply Quote 0
    • R Offline
      remus
      last edited by 29 Nov 2008, 12:54

      I think it needs a web address that points to a photo, try this: http://farm4.static.flickr.com/3290/3030824198_7cd0dac323_t.jpg

      To get your own images up, youll need to upload them to a photo sharing site like imageshack. Im not sure what size its emant to be, but im guessing pretty small (75x75 ?)

      http://remusrendering.wordpress.com/

      1 Reply Last reply Reply Quote 0
      • B Offline
        BillW
        last edited by 29 Nov 2008, 13:55

        Thanks Remus

        I finally figured it out. Instead of using back slash \ - use forward slash / in the path name.
        ie C:/seat.jpg I assume the forward slash option covers Mac pathnames.

        The image gets scaled to fit the Component Options - image slot 130 x 85 pixels
        So you just need to get the image ratio correct.

        For Google Sketchup guys
        It would be nice if there was a way of clicking on the Component Options - image which could take you to a manufacturers web site. Perhaps a new parameter Form Design > URL

        Although, it looks like (from the docs) an URL can be embedded in the description/summary fields with
        <a href="http://www.google.com ">

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dhruv
          last edited by 6 Dec 2008, 03:38

          I wanted to know one thing, can I define my onClick openURL function in DC? Can I define my own functions in DC? if so where do I do it? I don't know whether image URL does the same thing. Can somebody clarify it?
          Something like userdefined function.

          Thanks,
          Dhruv

          1 Reply Last reply Reply Quote 0
          • C Offline
            Chris Fullmer
            last edited by 6 Dec 2008, 04:11

            Dhruv was responded to here:

            301 Moved Permanently

            favicon

            (www.sketchucation.com)

            Please respond there if you have additional comments on his post so we can keep the forum tidy. Thanks!

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • S Offline
              scottlininger
              last edited by 8 Dec 2008, 20:49

              @billw said:

              For Google Sketchup guys
              It would be nice if there was a way of clicking on the Component Options - image which could take you to a manufacturers web site. Perhaps a new parameter Form Design > URL

              Although, it looks like (from the docs) an URL can be embedded in the description/summary fields with
              <a href="http://www.google.com ">

              Yeah, that's the current path: add a link inside your description tag. In general, we didn't want to allow links on anything that doesn't look like a link, which is why the image isn't linkable. That being said, I've added your request to our feature list for discussion.

              A sidenote: since we pull the imageURL's image from your webserver, one could use this get a rough approximation of how many people are downloading your DCs from the 3dwarehouse and configuring them by watching your traffic logs. 😄

              Cheers,

              • Scott Lininger
                SketchUp Software Engineer
                Have you visited the Ruby API Docs?
              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                1/6
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement