Need starting tips/howto to upload an image from a hardcoded path and show it on the page.

Hello everyone,
it would be great if you have some tips and maybe a small howto. What I want to
achieve is the following scenario. I want to extend the image component, from the
foundation, in that way, that I could upload an image to my page, from a fixed/
hardcoded path, furthermore I want to get rid off the drag&drop part.
Systeminfo:
CQ5.5
CRX2.3
What I want to try is to use the pathfield. In the case I want to use that component,
do I have to put it in an, e.g. javascript file, external file and include that file in my
jsp file?
I would really appreciate any help from you.
At the moment I become stuck.
Thanks for your help in advance
Best regards,
Peter

Hello Peter,
I dont think via configuration you can make upload path "fixed/hardcoded" because the smartwidget/html5smartimage both has written to build the "browse" feature in widget itself.
But you can disable the drag/drop behvior on your image tab via setting up property "allowFileReference" to false (boolean)
For more information plz refer
http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.form.SmartImage
Let me know for more information.
Thanks,
Pawan

Similar Messages

  • How to upload an image from my computer using in-browser editing

    When I use in-browser editing to change an image on my Muse site, there is not an option to upload the image "from my computer" like it shows in the documentation.  How can my clients update an image on their Muse sites from their own computers?

    Hello Cheny,
    Please check if the suggestions made here helps resolve the issue: http://forums.adobe.com/message/5687159
    Cheers
    Parikshit

  • Recently i lost my laptop, how i want to upload all image from my iphone back to my new laptop?

    recently i lost my laptop, how i want to upload all image from my iphone back to my new laptop?

    importing pics from iphone to computer http://support.apple.com/kb/HT4083

  • How set Elements9 Organizer as default to upload raw images from card reader? Defaults to Lightroom

    How do I set Elements9 Organizer as my default to upload raw images from computer's  sd card reader?  It defaults to Lightroom.

    The two raw files you've uploaded to dropbox are corrupted so Lightroom and Photoshop are giving you the correct message.  At least with these two, the embedded JPG preview is there but the raw data is not correct so cannot be rendered.  Here is the error that Canon's own software gives when the files are attempted to be edited:
    You should reattempt to copy the images from the memory cards to your computer using a card reader and an operating-system function (Explorer or Finder) to do it rather than LR or a cable connected to the camera, then see if things work any better.  If you already used a card reader, then try a different one and see if the situation improves.
    If you cannot get a better set of images by retransferring them, then we can work through how to extract the embedded JPG previews en masse.

  • Reg: Upload an image from IBM File Net into SAP ZTABLE .

    HI,
    I have a requiremnt to Upload an image from IBM File into SAP ZTABLE .
    or
    can anyone give me an idea on
    How to Upload an image from any image software into SAP ZTABLE .
    Thnaks,
    Arjun
    Edited by: Arjun on Jan 22, 2010 2:24 PM

    hI,
    I've found the solution!!
    My code was wrong, the correct way is:
    DATA:  image type XSTRING,
                imagelength type i.
    DATA: it_img TYPE w3mimetabtype.
    CALL FUNCTION 'SSFC_BASE64_DECODE'
       EXPORTING
         b64data = output-CONVERT_FROM_URL_RESULT
       IMPORTING
         bindata = image
       EXCEPTIONS
         OTHERS  = 8.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
       EXPORTING
         buffer                = image
         "APPEND_TO_TABLE       = ' '
       IMPORTING
         OUTPUT_LENGTH         = imagelength
       tables
         binary_tab            = it_img.

  • Is there a way to import images that have been edited and assign them to the original?

    I am transitioning to mac and aperture. Is there a way to import images that have been edited and assign them to the original? I have 10,000 originals and about 2,000 edited images. The originals are named img_XXXX and anything modified img_XXXX_modified. I would like to be able to import the originals and then import the edited versions and assign them to the original masters. Instead of starting from here and going forward with 12,000 masters, some of which are actual originals and others not. Thanks for the help.

    Ah, the vestiges of a destructive workflow! Once you "get" Aperture, (specifically Masters and Versions) you are going to love it, as all of this work goes away - the relationship that you seek to retain is automatic in Aperture; it is simply done differently.
    The short answer to your question is EVERY image file that is Imported into Aperture will create a new Master and one Version. Assuming that your images are PSD/TIFF/JPEG that you created in something like Photoshop, then each one that your import will be a new Master. You have many options:
    -- Stick the originals in one Project(s) and the edited versions in another Project(s).
    -- Stick them all in the same Project(s) and "Stack" them.
    But here is the real question: Why are you doing all of this work and what are you trying to accomplish? Seems you are trying to preserve old things that don't need preserving in a non-destructive workflow.
    So, what is most valuable to you?
    -- The original, out of camera files? (That is, the fear/need to revert.)
    -- The edited versions? (That is the hours of work that it took you to get there.)
    If the former, import the originals and ignore the edited versions. (Either simply leave them out on disk or import them into their own Projects which you ignore.) Use Aperture to recreate the work you had done previously. This will always give you the ability to revert to the original Master and create as many Versions as you want. This is the best idea if your edits are relatively simple crops and exposure adjustments,
    If the latter, then import the edited versions and do as above with the originals. This makes more sense if your work uses lots of layers and, perhaps lots of clone tool type corrections.
    Of course, you can do a bit of both.
    Others may have better suggestions, but you will find it easy to answer your own question when you understand an image based, as opposed to a file based, non-destructive workflow.
    Good luck!

  • Get image from Excel as shape and Save as .jpg

    Hello,
       I'm fairly new to ActiveX and am having a hard time doing a seemingly simple thing: getting a named image from an Excel file and saving it as a .jpg.  I have seen similar things done for Excel chart objects, but as I understand it images are "shapes" in Excel and I've been unable to find the right method to extract a shape. Please, if anyone could take a look at the attached folder and tell me if I am on the right track, if there is a better way to do this, or if there is a way to do this at all, it would be helpful.  Note that I don't care how efficient a strategy is developed - if I need to save to an intermediate file of another type, that's fine. The only goal is to be able to extract this image and save it with one mouse-click and no manual intervention.
    Folder contains: 1 example Excel file containing the image named "Picture 1"; 1 vi showing the method I've found for exporting Excel charts as .jpg's; and 1 vi with the progress I have made so far trying to pick the image from the Excel file and save it as a .jpg.  
    Thanks in advance!
    Megan
    Solved!
    Go to Solution.
    Attachments:
    GetExcelPicture.zip ‏70 KB

    Hi megan,
    see this link.
    Hope it helps.
    Mike

  • How do I ungroup the pages in my doc, I need to move the first to the end, and it shows me all the pages are in a group

    On Pages:  I need to move the first page of my document to the end, and it shows me all the pages are in a group.  How do I ungroup the pages in my doc. 

    Hello there, linafrompereira.
    The following portion of the online Pages Help for Mac provides information on grouping items in Pages:
    Layer, group, and lock objects - Pages Help for Mac
    http://help.apple.com/pages/mac/5.2/#/tan5eab46568
    Group and ungroup objects
    Shift-click to select multiple objects.
    In the Arrange pane of the Format inspector, click Group (or choose Arrange > Group from the Arrange menu at the top of your computer screen).
    To ungroup an object, select it, then click Ungroup or choose Arrange > Ungroup.
    Tip: You can Control-click objects, then choose Group or Ungroup from the shortcut menu. You can also add these buttons to the toolbar: Group and Ungroup.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • URGENT - how do I convert and image from colour to black and white?

    Hi,
    I'm new to Java, and I really need some code to convert an image from colour to black and white! I would really appreciate any help, but since I don't know much about Java I would prefer some code or links to websites with the code.
    Thanks!!!

    http://forum.java.sun.com/thread.jsp?forum=5&thread=368759

  • I lost my images from my hard drive and now I can not access them in Lightroom. What can I do?

    I lost my images from my hard drive and now I can not access them in Lightroom. What can I do?

    Your images are truly no longer present on the hard drive(s)? Have you had your operating system do a search for them?
    If such a search fails to find them, here's what I would do, in order
    Look in the trash can/recycle bin
    Restore from backups
    If you don't have backups ... well, why not? ... find a program on the internet called an "undelete utility" (free versons are available) and then download and install it and run it. If you are going to do this, then do not perform any other tasks on your computer except find the program, download it (if possible to a different drive than the photos were stored on), install it (if possible to a different drive than the photos were stored on), and run it. In the future, you will need to commit to making regular backups of your photos and of your Lightroom catalog file, no excuses.
    If that doesn't work, but the thumbnails still appear in Lightroom, you can probably recover the thumbnails from Lightroom via a plug-in, but these would be low-resolution versions of your photos, if you really need instructions on this step, write back

  • If I have mistakenly started to download a song or album from iCloud on my iPhone, can I stop the download?

    If I have mistakenly started to download a song or album from iCloud on my iPhone, can I stop the download?

    Welcome to the Apple community.
    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple ID and that ID is a previous version of your current ID, not an entirely different one.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details and some other circumstances.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device. It may take a short while to remove the account.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.
    This is answer is provided from my own database of boilerplate responses and the content was last reviewed and tested on: 2014/05/23

  • I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

    I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

    I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

  • How to capture an image from my usb camera and display on my front panel

    How to capture an image from my usb camera and display on my front panel

    Install NI Vision Acquisition Software and NI IMAQ for USB and open an example.
    Christian

  • How do I find music that has been uploaded to iTunes from a purchased CD and iTunes is "unable to find the original file?" I no longer have the CD. I have tried all the usual methods of looking in my iTunes library and through Find. No Luck.

    How do I find music that has been uploaded to iTunes from a purchased CD and iTunes is “unable to find the original file?” I no longer have the CD. I have tried all the usual methods of looking in my iTunes library and through Find. No Luck.

    Backup drive?
    Subscribe to iTunes Match?
    If neither of the above and you don't have the CD and can't find your tracks on the computer then they you're stuck.  A file recovery utility will cost $100, plus another $100 for an external drive to which to resue the files, and may not even work.  You can buy a lot of CDs for $200.

  • TA48312 I NEED TO UPGRADE FROM 10.5.8 TO USE MY ITUNES MATCH, WHAT DO I NEED TO DO TO DO THIS?  I HAVE PAID FOR IT AND HAVE DONE ALL THE NECESSARY TASKS TO GET ICLOUD UP BUT MY ITUNES WILL NOT WORK?

    I NEED TO UPGRADE FROM 10.5.8 TO USE MY ITUNES MATCH, WHAT DO I NEED TO DO TO DO THIS?  I HAVE PAID FOR IT AND HAVE DONE ALL THE NECESSARY TASKS TO GET ICLOUD UP BUT MY ITUNES WILL NOT WORK?

    jbrie8210 wrote:
    I NEED TO UPGRADE FROM 10.5.8 ...
    The first step in Upgrading... is to Snow Leopard = OS X 10.6.x
    It is Not available as a download... It is a Paid Upgrade.
    Do this first...
    Check that your Mac meets the System Requirements for Snow Leopard...
    Snow Leopard Tech Specs
    http://support.apple.com/kb/SP575
    If so... Purchase a Snow Leopard Install Disc...
    http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    Other countries...
    http://support.apple.com/kb/HE57
    After the Successful Install, run Software Update to get the latest updates for Snow Leopard.
    Be sure to make a Backup of your Current System Before Upgrading...
    Next...
    Upgrade to Mountain Lion
    With Regard to ML...  Check here for compatibility of 3rd party Software you may be using... Also note that Rosetta is no longer supported in Lion and Mountain Lion...
    http://roaringapps.com/apps:table
    You should also consider more RAM... Get the Maximum you can for your Mac...
    It is important to get the Correct and Matching RAM
    See Here  >  OWC RAM  >  http://www.macsales.com
    The above site also has videos on how to Install RAM should you need it...

Maybe you are looking for