Change image source distorts new image
Is there any easy way, once I change image source in Edge Animate, to get it to at least be proportionally correct? When I change an image source with a different size, it comes in distorted.
If you change the source it will fill the boundaries of the original source image automatically. If the size is different, it is probably better to delete the original image and drop the new one.
If you are talking about loading an image dynamically and changing them dynamically, use css background image with no-repeat and have you div be the size of the largest image used unless you code the image size when they change.
Similar Messages
-
Blurry Images after Reloading New Image
Every time I replace an image with a new image of the same
name, the new image becomes blurry, and I have to manually go into
Dreamweaver and reinsert the image, then it displays correctly. How
do I fix this? Thanks.Is the size of the image changing? If they are, then they
would be resized in html which will produce poor results. If you
are changing image sizes and don't want to update the html, then
you might want to leave off the height and width attributes and let
the browser recalculate those. This may not be the most friendly
approach, but I'll wait for others to comment. -
Updating image collection with new images
I have an image collection which works as a slideshow which can be paused/resumed. This works fine but my problem is that these images are going to change everyday but they will keep the same filename. Is there a way to get the collection to refresh itself
automatically or perhaps if there is a different way to do this rather than a collection? Something that grabs the image from file at run time rather than storing a copy locally which the collection seems to do.Hi Daniel,
If I understand you correctly, the app you're building will display images that are new everyday, but keep the same name. If this is correct, then to be able to do this you will need to work with a REST based source such as RSS or Facebook, for example.
The reason is that since we always fetch from these sources, displaying the data returned, and therefore any changes you make such as a new image or name will be pulled into Siena when we go grab the data. This is different from a source
like Excel where we take a snapshot and use with Siena. As you have observed, this snapshot will only get updated when you manually refresh from the backstage.
To see an example of what it means to work with a REST source such as Facebook, please see our help topic, where we discuss
how to display photos from a Facebook Album. If you would like this to this to be supported with Excel, please consider contributing to
this thread where the community has been collecting such feedback.
Hope this helps, get you going. -
How to expand an Image without making new image
Well, I got a VolatileImage(or it can be normal image), I wanna cut a portion of it, then attach something new to the portion, how do I do so?
See the following:
Image:
111111
222222
222222
I want to cut the "2s" part, so I get
222222
222222
Then attach "3s" to the bottom:
222222
222222
333333
The way I can think of is: make a new VolatileImage with the right size (portion size+ new attachment size), cut the portion from the old image, paste the cut into the new image at the right position, then render the new attachments into the new image, but this way requires a lot of memory copying, is there a directly way just chop off unwanted stuff and put in new stuff?
Thanks in advance.What kind of application are you trying to do this for? If you're scrolling a map, a better way to do it is to split your original (big) map image file into small square tiles and just draw the one that are on the screen at a given time. This way, instead of copying a large image whenever you scroll, you just change some x and y variables and draw the images at a new offset.
-
How to change Image source file name
Hi,
I have a logo image on my report that I want to change based on value of my query item. Can someone help me .....how can I change the source of my image item dynamically.
Thanks
AaliHello,
You can use a Formula Column and the property "Read From File" :
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_col_read_from_file.htm
Regards -
How to set image source path in formsweb.cfg file in forms 11g
Hi,
I had written HTML code in the formsweb.cfg file in forms 11g. In the below code i am unable to retrive image file(i.e., .gif, .jpeg) from the server or local machine.
In the below HTML code i set image source in the image tag as below:
<img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF"
Is this correct path to fetch the images from the server or local machine .
Please help me out how to set path for image in html or is there any alternate process to retrive images.
Here is the code :
[INDIVIDUALUAT]
workingDirectory=D:\Aims10dev\Work
form=LMstartup.fmx
userid=rmenu/rmenu@RLIFEQA64
codebase=/forms/java
imageBase=codebase
width=1005
height=750
WebUtilArchive=/forms/java/frmwebutil.jar,/forms/webutil/jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar,life-icons-round.jar,Agilis_Icon.jar,life_Icon.jar,personalize.jar,hyperlink.jar,amazingbutton.jar
archive=frmall.jar
separateFrame=False
lookandfeel=Generic
EndUserMonitoringURL=True
usesdi=yes
#HTMLbeforeForm= <table width="1005" border="0" cellspacing="0" cellpadding="0"><tr><td width="200"><img src="/forms/html/agilis-life-logo.gif" width="200" height="80" /></td><td width="10"><img src="/forms/html/agilis-life-new11_02.gif" width="36" height="80" /></td><td width="805" valign="top" background="/forms/html/agilis-life-new11_03.gif"></td></tr></td></tr></table>
HTMLbeforeForm=<body topmargin="0" leftmargin="0" > <table width="1005" height="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="200" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-logo.gif" width="200" height="80" /></td><td width="10" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_02.gif" width="36" height="80" /></td><td width="550" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_03.gif" width="550" height="80" /></td><td valign="bottom"><table width="219" height="90" border="0" cellspacing="0" cellpadding="0"><tr><td height="36" valign="bottom" align="center"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agile-logo.jpg" height="36"></td></tr><tr><td height="10" valign="bottom"> <div align="right"><span style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; text-decoration:none; color:#00000; " >Home | Change Password | Logout</span></div></td></tr><tr><td colspan="3" valign="bottom"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF" width="100%" height="39" /></td></tr></table></td></tr></td></tr></table></body>AFAIK, this is not the correct way to set the image location.
We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
Hope this answers your question.
Cheers,
Jeets. -
Updating image sources - scale problem.
Hi everyone, found out that FC could do something incredible today - you can update the image source of any images in your project to update them.
Sadly though, I can't seem to get it to scale the images down, despite the fact there's a 'scale: stretch' menu below it. Seriously, it doesn't matter if I've I've got the scale set to 'stretch' 'tiled' or 'none', whenever I replace, the image is GIGANTIC or tiny, and what I want is for Flash Catalyst to conserve the previous image dimensions and constrain or stretch the new image to those dimensions accordingly. I would have thought 'stretch' would have done this, but it seems to do nothing?
Is there a plug in or something? It'll save me a lot of time! Thanks (using 5.5 trial by the way)Flash Catalyst does not support plug ins. Before you invest too much time in learning Flash Catalyst, you should know that Adobe has annouced that it has stop development on this product. Via Flash Builder, you can set the maxWidth and maxHeight values on the image component.
Chris -
Aperture is distorting my images
Hello,
I hope someone can help. I am downloading my images into aperture and on random images it distorts the image. Looks like a coding problem, I don't know how to describe it, but here is a link to an example image:
http://infocusstudio.smugmug.com/Other/JimHillary/10063516LUhCC#690126089NCTE6-A-LB
Here is some more info:
Canon EOS 5D Mark II
3744 × 5616
IMG_5657.CR2
The image looks fine in my camera, what is going on???
Best,
JethroThis is a graphics driver issue. Join the club. Many users are experiencing this type of problem. Let me guess, when you uncheck an adjustment made to create such lovely abstract designs, the abstract box disappears?
Do a search on this forum. Many have pinned their hopes on the future 10.6.2 update based upon the release notes of the seed to developers. -
Dynamic image showing default image instead of requested image
I'm using CR4E v2.0 to incorporate reports into my application which is built into an ear file and deployed with Jboss 4.2.2 at the moment. I have an image in my report that I am trying to set dynamically from a URL in a database, but when the report is run only the default image shows up. The URL in the database for the logo is http://localhost:8087/module_Reporting/Logo.gif and I verified that exact string is being returned to the report, but the image is not changing from the default placeholder.
The formula for the graphic location is:
HdrPictureLogoClient : Graphic Location
// Return values: Any string value.
If Not IsNull({REPORT_PARAMETER_FACT.LOGO_URL_PATH})
Then {REPORT_PARAMETER_FACT.LOGO_URL_PATH}
Else "";
I'm using a com.crystaldecisions.report.web.viewer.CrystalReportViewer in my jsp page to display the report and this is the part of the page that handles the viewer
CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
// If the report is not saved in the session you just keep getting prompted for parameters
Object reportSource = session.getAttribute("ReportSource");
if (reportSource == null)
reportSource = clientDoc.getReportSource();
session.setAttribute("ReportSource", reportSource);
// set the reportsource property of the viewer
crystalReportPageViewer.setReportSource(reportSource);
// setting the optoins in the Crystal Report toolbar
crystalReportPageViewer.setDisplayGroupTree(false);
crystalReportPageViewer.setHasToggleGroupTreeButton(false);
crystalReportPageViewer.setHasSearchButton(false);
crystalReportPageViewer.setHasRefreshButton(false);
crystalReportPageViewer.processHttpRequest(request, response, application, null);
The viewer is contained in an iFrame and is disposed of in the containing jsp.
Am I missing something? Any help would be greatly appreciated!Thank you very much for your reply, but I am not trying to add an image into the report at run time, I am trying to change the source of the image. There is an image in the report as a place holder (called HdrPictureLogoClient) and the code that handles the source of the image is in the .rpt file also as this formula:
HdrPictureLogoClient : Graphic Location
// Return values: Any string value.
If Not IsNull({REPORT_PARAMETER_FACT.LOGO_URL_PATH})
Then {REPORT_PARAMETER_FACT.LOGO_URL_PATH}
Else "";
{/code}
I have discovered that it works just fine with a file path name like C:\logo.png in the database but it does not work with my web URL.
I just find it extra interesting because when the report was originally created in a Crystal Reports Project in myEclipse and deployed as an expanded war directly to jboss running in myEclipse it worked fine, but now that it is being incorporated into an EJB project which is built into an ear file that is deployed in a jboss service running outside of myEclipse it no longer works. -
Changing InlineGraphicElement.source when image is still downloading
If I detect that the content of an InlineGraphicElement is too large (either pixels of bytes) I want to stop it downloading and replace it with a different image. I successfully detect the cases when it is too large (listener on InlineGraphicElement.graphic as Loader.contentLoaderInfo).
I can stop the download by directly calling methods on the Loader, but then changing the source never seems to work on the InlineGraphicElement.
If I simply change the source on the InlineGraphicElement - it does not stop the loading of the original image - and then never seems to load the new one - if the original hadn't loaded at the time of the switch.Hi Richard,
I have attached a single class project which has a source change on an InlineGraphicElement.
>One possible workaround would be to set the new source property on the InlineGraphic and then stop the original graphic from loading.
I tried this (not included in the example I attached) - and successfully stopped the downloading - but did not successfully trigger the downloading of the new source. I think it should happen automatically when you change source - even if the original source was still downloading.
>Another might be to remove the InlineGraphicElement and insert a new one
Yes, that is what I ended up doing, but I think it is a clumsy solution.
Thanks,
Josh -
Question about dynamically changing image source
hi, this might be a stupid question that i've simply never
seen, but i have a picture on a page that, when the user clicks a
link below, needs to change to an altered picture. probably very
simple, i just need code that will change the image source of a
named image by clicking a link. thanks for any help you can give
me.You can use a remote rollover technique that uses css
(nesting one or more elements inside an anchor link) and absolute
positioning, or JavaScript.
Here is a quick JavaScript to achieve this effect:
xhtml code
<head>
<script src="external.js" language = "javascript" type =
"text/javascript"></script>
</head>
<body>
<p><a href="new_page.html" id="arrow"> New
Page</a></p>
<img src="images/image1_off.gif" width="100" height="20"
id="arrowImg" alt="arrow" />
</body>
external JavaScript file
window.onLoad = rolloverInit;
function rolloverInit() {
for (var i=0; i<document.links.length; i++)
var linkObj = document.links
if (linkObj.id) {
var imgObj = document.getElementById(linkObj.id + "Img");
if (imgObj) {
setupRollover(linkObj, imgObj);
function setupRollover(thisLink, thisImage) [
this.Link.imgToChange = thisImage;
this.Link.onmouseout = rollOut;
this.Link.onmouseover = rollOver;
thisLink.outImage = new Image();
this.Link.outImage.src = this.Image.src;
thisLink.overImage = new Image();
thisLink.overImage.src = "images/" + thisLink.id +
"_on.gif";
function rollOver() {
this.imgToChange.src = this.overImage.src;
function rollOut() {
this.imageToChange.src = this.outImage.src;
There is a lot going on here but if you know a little
JavaScript it will be failry easy to work it out. The important
thing is to note the file layout, naming conventions and image
constructs. Make sure the ids, etc are matched in the functions and
html code.
This technique shows the user what the image will become if
they click the text when they mouse over the text link. This is
handy for showing a preview of an image. You can alter the script
to change the image without a preview if you don't want that
effect.
regards
Nick Barling
www.barkingweb.com -
I am used to that when I open an image in Bridge it will be opened in PS, with all preferenses I have done to the image. Now it opens in PS but without any changes i have don e in Bridge. Also when I open a new image I want it to be opened in Camera Raw automatically, both if a Jpeg or Raw picture.
Using PS CC
Regards BOJ<moved from Adobe Creative Cloud to Bridge General Discussion>
-
Have to toggle "Relative to" button each time I try to change an image source
Dreamweaver CS4 running on Windows 7.
When changing an existing image on an existing web page in Dreamweaver by double-clicking the existing image on the page to open the Select Image Source panel, I have to toggle the "Relative to" (Site Root / Document) button for each image.
In other words, say that when using Design view, I want to replace img1.jpg with img3.jpg, and IMG2.jpg with img4.jpg, The steps I have to take are:
1. Double click img1.jpg on the page to open the Select Image Source panel.
2. Select img3.jpg.
3. Click the Relative to button at the bottom of the panel and change it from whichever it is on (Site Root, let's say) to the other option (Document).
4, Then click OK.
5. Double click img2.jpg on the page...
6. Select img4.jpg
7 Select the other option (SIte Root) in the Relative to drop down
8. Then click OK
9. Repeat for each image whose source is being changed. If one is relative to Site Root, the next will have to be relative to Document, then the next again I have to select Site Root, etc.
If I don't select the other relative to option, the image source path will not change when I click OK.
Default Link Relative To in site definition is set to Document.
It's been like this for weeks now and it's starting to get annoying. Any ideas?David, I tried deleting the corrupt cache flie, no difference. Deleted the config folder, same. Other than I lost the extensions... and had to reinstall them.
However, John's answer is correct. And clicking another image before clicking the one I want is faster than the way I was doing it.
It makes no difference if they are .png .jpg or .gif images.
By the way, I was wrong about my DW version. Turns out it's CS3. Guess it's time to upgrade... one of thes days!
Thanks everyone!
Message was edited by: tarfh, to add sentence about png images. -
Change Default Color Profile in New Image Document ?
I've looked and looked, and even Googled. Anyone know how to change the default color profile when you start a New image file? In CS5 mine defaults to sRGB (Under the Advanced drop down) but my CS6 is ProPhoto RGB which means I have to change it manually nearly every time I paste an image copied via right click in a web browser.
I think it the same on windows. If I copy things to the clipboard with Photoshop that the document profile seem to be used there when I do a paste there are no color issues. However if I use Prtscn or Alt+PrtScn to capture screen content. I'll see that the colors are wrong when I paste the clipboard into a new document if my default color space is not sRGB. Then I need to assign sRGB to the document to correct the colors.
If I paste a screen capture into the current document the color can be very off and I will not get a prompt on the color mismatch. Therefore I don't think a screen capture has any profile associated with it. And of course the screen has a much lower resolution then the images I edit. So there is also a big size difference. Here is one scaled to 100% zoom after the paste. You can see both the color and resolution difference. This capture was assigned to sRGB so you will see what the screen looks like after the paste and zoom to 100%.
Message was edited by: JJMack -
If you change the image mode of this image from 8-bit RGB image to Grayscale
mode while in PSCS – what will the new Pixel Count be?If you mean by Pixel count the number of pixels, this will not change. The image will have the same size thus the same number of pixels.
Maybe you are looking for
-
How to hard reset MSI windpad enjoy 7 plus?
The screen bullet password has been locked after several attempts and it requests me to provide email address & password. The wifi cannot be on currently, and I have forgotten the password for my email. I have tried to hard reset, by pressing power &
-
"Could not create key" - PC Suite 7 Installation -...
hi folks, it looks like my PC is having an error during installation of the latest PC Suite 7.0.9.2 "Could not create key" "HKEY_LOCAL_MACHINE\Software\microsoft\window........"and then the message is cut-off in a small error popup window that cannot
-
Hi all, How to use the report RSWUWFML2 for forwarding mails from SAP inbox to external mail. Requirement is the mails should go to external mail box not sap inbox.If the auto forwarding option is clicked. Thanks & Regards, Anjana Rao Moderator messa
-
Cannot scan with my HP6210 OfficeJet after installing Yosemite
Since installing Yosemite on my MacBook Pro I have not been able to scan using my HP OfficeJet 6210. I have followed the instructions on the HP support page 'No Scan Options' relating to uninstalling and reinstalling the Apple built-in software, but
-
Web ADI on 11i (11.5.10.2)
Hi Hussein, I read in the notes that Web Adi is already incorporated in the 11i Rapid Install. How do I know if it was installed successfully in my EBS 11i when I run the rapidwiz? Thanks a lot