Image resized when placed in Pages
Im trying to place a PDF image in pages but it keeps reducing the image down from its original dimensions. How can I place my PDF at its original size without having to spend time resizing it?
You did not tell us what version of Pages.
Pages will reduce objects to fit, either on the page or within the document margins.
Select the pdf and set the object to Original Size.
Peter
Similar Messages
-
Photoshop images resizing when placed in Indesign
Hi,
I've created an image in Photoshop whih is 960 px wide and 600 px in length. I have set up a document in Indesign with the same dimensions. When I place the .psd file in Indesign, it comes in at 230.4 x 144 px. Why is it not coming in at 960x600, the size it is in Photoshop? My rulers and measurements are all set to px, I've checked.
If anyone can help I'd be most grateful!
Thanks,
OmarDouble click on the image in InDesign and in the top tool bar see if fit says 100% for both the width and height. If not, then change to 100%. Odds are it is autoresizing to fit or fill your frame.
-
Slideshow image resizing when adding new images
I am creating a series of slideshows on multiple pages. I created one slide show using the "basic" slideshow and resized it to the dimensions and settings I wanted. I have many pictures all of different proportion, therefore, I selected the "fill frame proportionally" so they would all fit the dimension I set. I wanted to use this first slideshow as a template for all of the rest. I added images to this first slideshow with no problems. All of my different sized images scaled or cropped to fit within the dimension I set. The problem comes in when I do two things: 1) When I add other images of different dimensions to this same slideshow gallery, they come smaller that the intended dimensions I set previous. I check the setting and it is still on "fill frame proportionally" similar to the first batch of pictures. 2) The second issue is when copy this slideshow as a template to other pages. When I try to replace or add to the slideshow gallery, the images come in cropped or smaller rather than filling the frame. Again, the settings are still the same from my very first slideshow that worked just as i intended.
I could resize all the images to all the same dimensions using another program like photoshop, but that is another step that is very tedious and it would seem that it should be something built into Muse.
Is there a way around this?. Am I doing something wrong? Or is this just one of those glitches that happens with Muse? I appreciate any help that I can get.
Thanks!Hi, I got it to work like this:
Using background colours in Photoshop so that all sizes are the same in pixels. Then manually adjusting thumbnails by double-clicking on them so that a red square appears.
Cheers,
Elsemiek
Op 26 dec. 2014, om 00:50 heeft MediaGraphics <[email protected]> het volgende geschreven:
slideshow image resizing when adding new images
created by MediaGraphics <https://forums.adobe.com/people/MediaGraphics> in Adobe Muse Bugs - View the full discussion <https://forums.adobe.com/message/7043933#7043933>
Hi there Elsemiekagain,
I had to fiddle around with my slide show to get it to work. That is, it worked at first, then went funky, and I had to fiddle. So much fiddling that I can't possibly know what actually made it start to work again.
And to some degree, this is the way that I find Muse to be in general. That it requires finessing to get it to work as expected. This adds a good deal of time to every development project, though I am getting better at this with practice and experience.
Most of it is not even things that could be easily put in words as instructions, as many are nanced. But in fairness, this version of Muse is a complete code re-write this year. So we do need to cut Adobe some slack, and give the team time to iron things out.
If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7043933#7043933 and clicking ‘Correct’ below the answer
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7043933#7043933
To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
Start a new discussion in Adobe Muse Bugs by email <mailto:[email protected]ftware.com> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=47 59>
For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>. -
When I try to place a picture in photoshop CS6 either from drag&drop in the application window or from the place command, my image gets automatically resized based on the resolution (pixels per inch) of my document.
Example:
I create a new blank document, 1000*1000px @ 300ppi.
I have another image that I want to place in the document and this image measures 500*500px @ 100ppi.
I then go to File->Place and the image that appears is way too big. In the Info panel, it says that the image is 1500x1500 and the transform settings at the top indicate that the image hasen't been scaled because both width and height are at 100%
If I cahnge my document resolution (no resample) to 100ppi, the image has the right size when I place it.
So my question is: Is this normal? Because it has never done that with past versions of Photoshop. If it is normal, is there a way I can change this because placing an image based on it's physical (printed) size makes absolutely no sense. 1 pixel = 1 pixel.
Thank you for your helpOnce you understand how Photoshop works you can batch some some things you create some actions for. Size is difficult to deal with in actions and often you will have problems dealing with aspect ratios and image orientation.
To automate a process well scripting is more powerful then actions for you can use logic to solve problem area involving sizing, orientation, aspect ratios and positioning. You can size an image to cover an area then mask off any excess to virtually crop the image to the areas aspect ratio. If you download my Photoshop Photo Collage Toolkit there are script that create composite that can deal with any size image.
One script PasteImageRoll.jsx can past selected images into a document to be print on roll paper. Images will be tiled into the document some images may be rotated for a better fit for the tiles aspect ratio. Image will be resized to fill the tile area and masked to virtually make a center crop of the images. Other scripts will place in images file into collage template as smart object layers. Smart object images layers will be scaled to fit the various templates images areas position over the area and masked to the area. Link Documentation and Examples for the toolkit and Link Paste Image Roll Script Information
Scripting is very powerful you can even open image off the web using its URL even stack all the image on a web page using its url
OpenImageFromWeb.jsx
// OpenImageFromWeb.jsx
// Copyright 2006-2009
// Written by Jeffrey Tranberry
// Photoshop for Geeks Version 3.0
// modified by MLH
// modified by JJMACK 2010
<javascriptresource>
<about>$$$/JavaScripts/OpenImageFromWeb/About=JJMack's OpenImageFromWeb.^r^rCopyright 2010 Mouseprints.^r^rJJMack's Script.^rOpen Image From Web as a Placed smart object layer!</about>
<category>JJMack's Script</category>
</javascriptresource>
Description:
This sample script shows how to download images from a web server using the
Socket object.
// Note: Socket.read() parameter & behavior
// Socket.read() will read or time out. It may not read all data fromserver. <---------------
// Socket.read(999999) will read 999999 bytes, or timeout, or socket will be
// closed by the server.
// enable double clicking from the
// Macintosh Finder or the Windows Explorer
#target photoshop
// Make Photoshop the frontmost application
app.bringToFront();
// SETUP
var html = "";
var request = "";
var url = "";
var binary = "";
var requesthtml = "";
var socket = new Socket;
var domain = "www.mouseprints.net" // the domain for the file we want
var sImg = "/old/dpr/JJMack8btiSrgb.png"; // the rest of the url for the file we want
var port = ":80"; // the port for the file we want
// MAIN
var url = prompt("Enter the image's full URL http://domain/full image path",url); // prompt for domain name
if (url != null && url != ""){
if ( (url.indexOf("http://") != -1) || (url.indexOf("HTTP://") != -1) ) {
domainPathLength = url.length - "http://".length;
domainPath = url.substr(7, domainPathLength);
pathOffset = domainPath.indexOf("/");
domain = domainPath.substr(0, pathOffset);
sImg = domainPath.substr(pathOffset, domainPath.length - pathOffset );
// Isolate Image name
var Name = sImg
var imagePath = "";
while (Name.indexOf("/") != -1 ) { // Strip Path
imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
Name = Name.substr(Name.indexOf("/") + 1 ,);
//alert("domain = " + domain + " , Image = " + sImg + " Image File Name = " + Name);
if ( domain != "" && sImg != "" && sImg != "/" && Name.indexOf(".") != -1 ) {
var f = File("~/" + Name); // Image file name
f.encoding = "binary"; // set binary mode
f.open("w");
if (socket.open(domain + port, "binary")){
//alert("GET " + sImg +" HTTP/1.0\n\n");
requesthtml ="\n\nDmain:" + domain + " Port" + port + " binary\n"
request ="GET " + sImg +" HTTP/1.0\n\n"
socket.write(request); // get the file
var binary = socket.read(99999999);
binary = removeHeaders(binary);
f.write(binary);
socket.close();
else { alert("Connection to Domain:" + domain + " Port" + port + " Failed ");}
f.close();
if (binary.length != 0) {
//alert ("file length = " + binary.length );
if(app.documents.length == 0) {
//app.documents.add([width] [, height] [, resolution] [, name] [, mode] [, initialFill] [,pixelAspectRatio] [, bitsPerChannel] [,colorProfileName])
app.documents.add(new UnitValue(1600,'px'), new UnitValue(1200,'px'), 72, null, NewDocumentMode.RGB, DocumentFill.WHITE, 1,BitsPerChannelType.EIGHT, "sRGB IEC61966-2.1" );
placeSmartObject( f );
f.remove(); // Remove temporary downloaded files
else { alert("Invalid Image URL: " + url ); }
else { alert("Invalid URL: " + url ); }
else { if ( url == "" ) alert("No URL Entered"); }
// FUNCTIONS
function placeSmartObject(fileRef){
//create a new smart object layer using a file
try {
var desc = new ActionDescriptor();
desc.putPath( charIDToTypeID( "null" ), new File( fileRef ) );
desc.putEnumerated( charIDToTypeID( "FTcs" ), charIDToTypeID( "QCSt" ),charIDToTypeID( "Qcsa" ));
desc.putUnitDouble( charIDToTypeID( "Wdth" ),charIDToTypeID( "#Prc" ), 100 );
desc.putUnitDouble( charIDToTypeID( "Hght" ), charIDToTypeID( "#Prc" ), 100 );
desc.putUnitDouble( charIDToTypeID( "Angl" ), charIDToTypeID( "#Ang" ), 0 );
desc.putBoolean( charIDToTypeID( "Lnkd" ), true );
executeAction( charIDToTypeID( "Plc " ), desc, DialogModes.NO );
activeDocument.activeLayer.resize(100 ,100,AnchorPosition.MIDDLECENTER);
activeDocument.revealAll();
} catch (e) { alert("Placeing file: '" + fileRef + "' failed"); }
// Remove header lines from HTTP response
function removeHeaders(binary){
var bContinue = true ; // flag for finding end of header
var line = "";
var httpheader = "";
var nFirst = 0;
var count = 0;
while (bContinue) {
line = getLine(binary) ; // each header line
httpheader = httpheader + line;
bContinue = line.length >= 2 ; // blank header == end of header
nFirst = line.length + 1 ;
binary = binary.substr(nFirst) ;
if (httpheader.indexOf("Bad Request") != -1 || httpheader.indexOf("Not Found") != -1) {
alert (requesthtml + request + httpheader);
var binary = "";
//alert (requesthtml + request + httpheader + "\nFile length = " + binary.length);
return binary;
// Get a response line from the HTML
function getLine(html){
var line = "" ;
for (var i = 0; html.charCodeAt(i) != 10; i++){ // finding line end
line += html[i] ;
return line ;
StackWebPageImages.jsx
// Copyright 2007. Adobe Systems, Incorporated. All rights reserved.
// This script demonstrates how to download images from a web server using the Socket object.
// Adobe's Socket.jsx Photoshop sample javascript
// modified by JJMACK 2011
<javascriptresource>
<about>$$$/JavaScripts/StackWebPageImages/About=JJMack's StackWebPageImages.^r^rCopyright 2011 Mouseprints.^r^rJJMack's Script.^rPlaces Images used in a Web page as smart object layers in stack in a new document!^rOnly images embedded coded with path relative to the domains root will be Placed though.^rImages that fail to be placed may be Placed into the document using your browser right click to copy image URL.^rThen paste that URL into the OpenImageFromWeb script URL input field. </about>
<category>JJMack's Script</category>
</javascriptresource>
// Note: Socket.read() parameter & behavior
// Socket.read() will read or time out. It may not read all data from server.
// Socket.read(999999) will read 999999 bytes, or timeout, or socket will be
// closed by the server.
// Settings
#target photoshop
app.bringToFront(); // bring top
//if("en_US" == $.locale) { // display only US build
// alert("This sample script shows how to download images from a web server using the Socket object.");
// Remove header lines from HTTP response
function removeHeaders(binary)
var bContinue = true ; // flag for finding end of header
var line = "";
var nFirst = 0;
var count = 0;
while (bContinue) {
line = getLine(binary) ; // each header line
bContinue = line.length >= 2 ; // blank header == end of header
nFirst = line.length + 1 ;
binary = binary.substr(nFirst) ;
return binary;
// Get a response line from the HTML
function getLine(html)
var line = "" ;
for (var i = 0; html.charCodeAt(i) != 10; i++){ // finding line end
line += html[i] ;
return line ;
var socket = new Socket;
var port = "80";
var html = "";
//if (socket.open("www.adobe.com:80")){
// socket.write("GET /index.html HTTP/1.0\n\n");
// html = socket.read(9999999);
// socket.close();
var url = "";
var url = prompt("Enter the Web page full URL the images are in like http://domain/index.html",url); // prompt web page
if (url != null && url != ""){
if ( (url.indexOf("http://") != -1) || (url.indexOf("HTTP://") != -1) ) {
domainPathLength = url.length - "http://".length;
domainPath = url.substr(7, domainPathLength);
if ( domainPath.indexOf("/") != -1 ) {
pathOffset = domainPath.indexOf("/");
domain = domainPath.substr(0, pathOffset);
wPage= domainPath.substr(pathOffset, domainPath.length - pathOffset );
else {
domain = domainPath;
wPage = "/";
// Isolate Page name
var pName= wPage;
var pagePath = "";
while (pName.indexOf("/") != -1 ) {
pagePath= pagePath + pName.substr(0, pName.indexOf("/") + 1);
pName = pName.substr(pName.indexOf("/") + 1 ,);
//if (socket.open("www.adobe.com:80")){
if (socket.open(domain +":" + port)){
//alert("GET page = " + wPage + " HTTP/1.0\n\n");
socket.write("GET " + wPage + " HTTP/1.0\n\n");
html = socket.read(9999999);
socket.close();
//var aImg = html.match(/src=\"\/images\/(.*?)\"/g); // src="/images/~~~"
//var aImg = html.match(/img src=\"(.*?)\"/g); // img src="~~~"
//var aImg = html.match(/img src=\"(.*?)[\"?]/g); // img src=["|?]~~~"
//var aImg = html.match(/img (.*?)src=\"(.*?)[\"?]/g); // img ~~~src="~~~"
var aImg = html.match(/<img (.*?)src=\"(.*?)\"/g); // <img ~~~src="~~~"
//var aImg = html.match(/<img (.*?)src=\"(.*?)[\"?]/g); // <img ~~~src=["|?]~~~"
//alert("Image List\n" + aImg);
if (null != aImg) { // parsed image tags
//app.documents.add([width] [, height] [, resolution] [, name] [, mode] [, initialFill] [,pixelAspectRatio] [, bitsPerChannel] [,colorProfileName])
app.documents.add(new UnitValue(1600,'px'), new UnitValue(1200,'px'), 72, null, NewDocumentMode.RGB, DocumentFill.WHITE, 1,BitsPerChannelType.EIGHT, "sRGB IEC61966-2.1" );
for (var i=0; i < aImg.length; i++) {
var str = aImg[i];
imageNo=i+1;
//var sImg = str.substring(5, str.length-1); // remove "src=" & ["]
//var sImg = str.substring(9, str.length-1); // remove "img src=" & ["]
var sImg = str.substring(str.indexOf('src="')+5, str.length-1); // remove "<img ... src=" & ["]
try{
if (sImg.substring(0,7) == "http://" || sImg.substring(0,7) == "HTTP://") { placeWebImage(imageNo, sImg); } // redirect image
else {
if (sImg.substring(0,1) != "/" ) { sImg = pagePath + sImg ; } // image is relative to web page path
//else { sImg = sImg.substr(1, sImg.length - 1) ; sImg = pagePath + sImg; } // aways include web page path bad idea
// Isolate Image name
var Name = sImg;
var imagePath = "";
while (Name.indexOf("/") != -1 ) { // Strip Path
imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
Name= Name.substr(Name.indexOf("/") + 1 ,);
Name= imageNo + " " + Name;
//var f = File("~/socket_sample_" + i + sImg.substr(sImg.length-4)); // 4 = .gif or .jpg
var f = File("~/" + Name ); // Temp File name
f.encoding = "binary"; // set binary mode
f.open("w");
//if (socket.open("www.adobe.com:80", "binary")){
if (socket.open(domain +":" + port, "binary")){
socket.write("GET " + sImg +" HTTP/1.0\n\n"); // Adobe's site image link starts with "/"
var binary = socket.read(9999999);
binary = removeHeaders(binary);
f.write(binary);
socket.close();
else { alert("Socket Open " + domain + ":" + port + ", binary Failed"); }
f.close();
//app.open(f); // Open files in Photoshop
placeSmartObject( f );
f.remove(); // Remove temporary downloaded files
catch(e){
alert("Number of images found in page = " + imageNo );
else { alert("No images found for " + url); }
else { alert("Connection to Domain:" + domain + " Port " + port + " Failed ");}
else { alert("Invalid URL: " + url ); }
else { if (url == "") alert("No URL Entered"); }
// FUNCTIONS
function placeSmartObject(fileRef){
//create a new smart object layer using a file
try {
var desc = new ActionDescriptor();
desc.putPath( charIDToTypeID( "null" ), new File( fileRef ) );
desc.putEnumerated( charIDToTypeID( "FTcs" ), charIDToTypeID( "QCSt" ),charIDToTypeID( "Qcsa" ));
desc.putUnitDouble( charIDToTypeID( "Wdth" ),charIDToTypeID( "#Prc" ), 100 );
desc.putUnitDouble( charIDToTypeID( "Hght" ), charIDToTypeID( "#Prc" ), 100 );
desc.putUnitDouble( charIDToTypeID( "Angl" ), charIDToTypeID( "#Ang" ), 0 );
desc.putBoolean( charIDToTypeID( "Lnkd" ), true );
executeAction( charIDToTypeID( "Plc " ), desc, DialogModes.NO );
activeDocument.activeLayer.resize(100 ,100,AnchorPosition.MIDDLECENTER);
activeDocument.revealAll();
} catch (e) { }
function placeWebImage(num, url){
var socket = new Socket;
domainPathLength = url.length - "http://".length;
domainPath = url.substr(7, domainPathLength);
pathOffset = domainPath.indexOf("/");
domain = domainPath.substr(0, pathOffset);
sImg = domainPath.substr(pathOffset, domainPath.length - pathOffset );
// Isolate Image name
var Name = sImg
var imagePath = "";
while (Name.indexOf("/") != -1 ) { // Strip Path
imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
Name = Name.substr(Name.indexOf("/") + 1 ,);
Name= num + "R " + Name;
//alert("domain = " + domain + " , Image = " + sImg + " Image File Name = " + Name);
if ( domain != "" && sImg != "" && sImg != "/" && Name.indexOf(".") != -1 ) {
var f = File("~/" + Name); // Image file name
f.encoding = "binary"; // set binary mode
f.open("w");
if (socket.open(domain +":" + port, "binary")){
//alert("socket.write GET " + sImg +" HTTP/1.0\n\n");
//socket.write("GET " + sImg +" HTTP/1.0\n\n"); // did not work
socket.write("GET " + url +" HTTP/1.0\n\n"); // use url to this server works
var binary = socket.read(9999999);
binary = removeHeaders(binary);
f.write(binary);
socket.close();
//else { alert("Connection to Domain:" + domain + " Port" + port + " Failed ");}
f.close();
placeSmartObject( f );
f.remove(); // Remove temporary downloaded files
//else { alert("Invalid Image URL: " + url ); } -
Photos color shift when placed in Pages document
I'm used to working with a color managed workflow in Aperture; my monitor and printer are both calibrated. I'm having trouble getting accurate color when those photos are placed in a Pages document - whether they're imported directly from Aperture using the Media function in Pages, or exported as a JPEG and drag-dropped over the Pages placeholder image.
The pictures take on a slight magenta-blue cast when dropped into Pages, a cast which is not present when viewed natively in Aperture, soft proofed in Aperture, or when printed from Aperture. When I export them as JPEGs, I assign an sRGB colorspace to them; Aperture, of course, treats everything as AdobeRGB until exported. Both colorspaces present the same shift.
A known good (third party) color-managed test JPEG shows the same effect, regardless of whether it's AdobeRGB or sRGB. Aperture and Pages are both the lastest versions.
I can, of course, use the image sliders to compensate somewhat, but that is extra work I shouldn't need to do!
Any help would be appreciated.Well, it looks as though I found my own answer. Turns out the template I was using had a color correction already added to the stock photo it used. What I didn't know is that those color corrections belong to the placeholder, not the image - when a new image is dropped in, it takes on the adjustments of the slider. I think that's kind of silly, but that's the way it works.
I set the sliders to zero, dropped in a managed sRGB print, and it's perfect.
Problem solved. -
Strange problem with image scaling when placed
I'm currently running InDesign CS6 from the Creative Cloud, and it's version 8.0. I have a PC and am running Windows 8.
I am experiencing a really odd problem when placing images, and it only recently (within the last two weeks perhaps?) has developed. I do ebook production for a publisher. I have an InDesign template (INDD file really, but "blank" and ready to be filled in, and as such I refer to it as a "template") that I use, and the cover for the book goes on the first page. The document is set to pixels as the ruler measurement, and the pages are 650 pixels wide by 800 pixels tall. The margins are all set at zero. The cover images are sent to me as JPEGs and always have the same size: 72dpi setting and 500 pixels wide by 750 pixels tall. This is chosen to be about the size of the full screen on most ereaders, or close enough to be so.
So when working on a new book, I put my cursor in the blank line that is set up to take the cover as an inline image. I do control-D to place, select the file, and hit enter. This SHOULD place an image at that location that is 500 pixels wide and 750 pixels tall when looking at the InDesign page rulers. Instead, InDesign insists on placing this image at 50% scaling, so that it is only 250 pixels wide by 375 pixels tall. And in the link info panel, it shows the actual PPI as 72 and the effective PPI as 144. It does this no matter how many preference changes I try (including the ones under file handling and the import setting options).
The strangest part is that if the file is just a tiny bit different than 500x750 @72dpi, then there is no problem. For example, if I open the JPEG in Photoshop and change the image settings to 500x750 @73dpi, then InDesign places it at 100% scale like I want. If I change the image to 499x749 @72dpi it also gets placed in InDesign at 100% scaling. I've tried this with various new INDD documents with settings in pixels, inches, or picas as the ruler amounts, and with different page or margin sizes (just in case the problem is with my template). I get the same result no matter what.
It appears that InDesign somehow thinks that any image that is exactly 500x750 @72dpi should be scaled at 50% when placing it into an InDesign file. Has anyone else run across this? Is it a bug or something I'm doing wrong? I've been doing this exact procedure for over a year, first with CS5 and now CS6, and I've never had this happen until just recently. I suppose it COULD be an accidental change in settings or preferences. But if it is, I cannot figure out how to change it back.
UPDATE: I installed the 8.0.1 update and it did not resolve the issue. I also tried more image options. It looks like this scaling to 50% upon placing ONLY happens when all three attributes match this: 500x750@72dpi. All of the following modifications to the exact same image placed in the exact same spot in the exact same document resolved the issue:
501x750@72dpi
499x750@72dpi
500x751@72dpi
500x749@72dpi
500x750@71dpi
500x750@73dpi
But of course, I don't want to have to modify every cover image I'm sent in order to prevent this scaling issue.I just tried this and got the same results (CS6, 8.0.1, on WinXP SP3). One other tidbit: the same 500px × 750 px @ 72ppi image saved as TIFF instead of JPEG worked correctly (at least for me). I haven't tried any other image formats yet.
This sounds like a good candidate for an official bug report: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
-Bill -
I have noted the following strange behavior inside my Publishing enterprise wiki site collection. Now by default when I create a new wiki page and I add Pictures to it, the pictures will be saved under the “Images” library and will be inside a unique folder
that have its name similar to the page name.
But when users delete the picture from the wiki page or they delete the whole wiki page, then the related folder inside the “Images” library will not be removed. So can anyone advice if there is a way to automatically remove the page’s pictures
folder from the Images library when the page is deleted? as currently i might end up having many pictures inside the Images library which are not linked to a wiki page, and they will waste my server desk space...I think, not sure, there's no out-of-the-box solution in SharePoint for this problem. So I can only think of custom solution:
In event Receiver, ItemDeleting, you can delete images. The only downside is if some other pages are referring the images..... you need to check somehow which is quite time-consuming operations if you have thousand of pages in wiki library
A timer job, that will run periodically, every day or week, and clean all unused images.
Hide the default delete button and add your own. And then using your own custom layout page, show a 'configuration dialog' to user if they want to delete both page and images.
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com
Please do not tell me this is not supported out of the ox ,,,,, i that i should handle this process by myself !!! and SharePoint does not support this feature .... this is another problem i should include in my list ..... -
Why won't Photoshop revert to earlier history state after image resize when scripted?
I've written an Applescript to automate watermarking and resizing images for my company. Everything generally works fine — the script saves the initial history state to a variable, resizes the image, adds the appropriate watermark, saves off a jpeg, then reverts to the initial history state for another resize and watermark loop.
The problem is when I try not to use a watermark and only resize by setting the variable `wmColor` to `"None"` or `"None for all"`. It seems that after resizing and saving off a jpeg, Photoshop doesn't like it when I try to revert to the initial history state. This is super annoying, since clearly a resize should count as a history step, and I don't want to rewrite the script to implement multiple open/close operations on the original file. Does anyone know what might be going on? This is the line that's generating the problem (it's in both the doBig and doSmall methods, and throws an error every time I ask it just to do an image resize and change current history state):
set current history state of current document to initialState
and here's the whole script:
property type_list : {"JPEG", "TIFF", "PNGf", "8BPS", "BMPf", "GIFf", "PDF ", "PICT"}
property extension_list : {"jpg", "jpeg", "tif", "tiff", "png", "psd", "bmp", "gif", "jp2", "pdf", "pict", "pct", "sgi", "tga"}
property typeIDs_list : {"public.jpeg", "public.tiff", "public.png", "com.adobe.photoshop-image", "com.microsoft.bmp", "com.compuserve.gif", "public.jpeg-2000", "com.adobe.pdf", "com.apple.pict", "com.sgi.sgi-image", "com.truevision.tga-image"}
global myFolder
global wmYN
global wmColor
global nameUse
global rootName
global nameCount
property myFolder : ""
-- This droplet processes files dropped onto the applet
on open these_items
-- FILTER THE DRAGGED-ON ITEMS BY CHECKING THEIR PROPERTIES AGAINST THE LISTS ABOVE
set wmColor to null
set nameCount to 0
set nameUse to null
if myFolder is not "" then
set myFolder to choose folder with prompt "Choose where to put your finished images" default location myFolder -- where you're going to store the jpgs
else
set myFolder to choose folder with prompt "Choose where to put your finished images" default location (path to desktop)
end if
repeat with i from 1 to the count of these_items
set totalFiles to count of these_items
set this_item to item i of these_items
set the item_info to info for this_item without size
if folder of the item_info is true then
process_folder(this_item)
else
try
set this_extension to the name extension of item_info
on error
set this_extension to ""
end try
try
set this_filetype to the file type of item_info
on error
set this_filetype to ""
end try
try
set this_typeID to the type identifier of item_info
on error
set this_typeID to ""
end try
if (folder of the item_info is false) and (alias of the item_info is false) and ((this_filetype is in the type_list) or (this_extension is in the extension_list) or (this_typeID is in typeIDs_list)) then
-- THE ITEM IS AN IMAGE FILE AND CAN BE PROCESSED
process_item(this_item)
end if
end if
end repeat
end open
-- this sub-routine processes folders
on process_folder(this_folder)
set these_items to list folder this_folder without invisibles
repeat with i from 1 to the count of these_items
set this_item to alias ((this_folder as Unicode text) & (item i of these_items))
set the item_info to info for this_item without size
if folder of the item_info is true then
process_folder(this_item)
else
try
set this_extension to the name extension of item_info
on error
set this_extension to ""
end try
try
set this_filetype to the file type of item_info
on error
set this_filetype to ""
end try
try
set this_typeID to the type identifier of item_info
on error
set this_typeID to ""
end try
if (folder of the item_info is false) and (alias of the item_info is false) and ((this_filetype is in the type_list) or (this_extension is in the extension_list) or (this_typeID is in typeIDs_list)) then
-- THE ITEM IS AN IMAGE FILE AND CAN BE PROCESSED
process_item(this_item)
end if
end if
end repeat
end process_folder
-- this sub-routine processes files
on process_item(this_item)
set this_image to this_item as text
tell application id "com.adobe.photoshop"
set saveUnits to ruler units of settings
set display dialogs to never
open file this_image
if wmColor is not in {"None for all", "White for all", "Black for all"} then
set wmColor to choose from list {"None", "None for all", "Black", "Black for all", "White", "White for all"} with prompt "What color should the watermark be?" default items "White for all" without multiple selections allowed and empty selection allowed
end if
if wmColor is false then
error number -128
end if
if nameUse is not "Just increment this for all" then
set nameBox to display dialog "What should I call these things?" default answer ("image") with title "Choose the name stem for your images" buttons {"Cancel", "Just increment this for all", "OK"} default button "Just increment this for all"
set nameUse to button returned of nameBox -- this will determine whether or not to increment stem names
set rootName to text returned of nameBox -- this will be the root part of all of your file names
set currentName to rootName
else
set nameCount to nameCount + 1
set currentName to rootName & (nameCount as text)
end if
set thisDocument to current document
set initialState to current history state of thisDocument
set ruler units of settings to pixel units
end tell
DoSmall(thisDocument, currentName, initialState)
DoBig(thisDocument, currentName, initialState)
tell application id "com.adobe.photoshop"
close thisDocument without saving
set ruler units of settings to saveUnits
end tell
end process_item
to DoSmall(thisDocument, currentName, initialState)
tell application id "com.adobe.photoshop"
set initWidth to width of thisDocument
if initWidth < 640 then
resize image thisDocument width 640 resample method bicubic smoother
else if initWidth > 640 then
resize image thisDocument width 640 resample method bicubic sharper
end if
set myHeight to height of thisDocument
set myWidth to width of thisDocument
if wmColor is in {"White", "White for all"} then
set wmFile to (path to resource "water_250_white.png" in bundle path to me) as text
else if wmColor is in {"Black", "Black for all"} then
set wmFile to (path to resource "water_250_black.png" in bundle path to me) as text
end if
if wmColor is not in {"None", "None for all"} then
open file wmFile
set wmDocument to current document
set wmHeight to height of wmDocument
set wmWidth to width of wmDocument
duplicate current layer of wmDocument to thisDocument
close wmDocument without saving
translate current layer of thisDocument delta x (myWidth - wmWidth - 10) delta y (myHeight - wmHeight - 10)
set opacity of current layer of thisDocument to 20
end if
set myPath to (myFolder as text) & (currentName) & "_640"
set myOptions to {class:JPEG save options, embed color profile:false, quality:12}
save thisDocument as JPEG in file myPath with options myOptions appending lowercase extension
set current history state of current document to initialState
end tell
end DoSmall
to DoBig(thisDocument, currentName, initialState)
tell application id "com.adobe.photoshop"
set initWidth to width of thisDocument
if initWidth < 1020 then
resize image thisDocument width 1020 resample method bicubic smoother
else if initWidth > 1020 then
resize image thisDocument width 1020 resample method bicubic sharper
end if
set myHeight to height of thisDocument
set myWidth to width of thisDocument
if wmColor is in {"White", "White for all"} then
set wmFile to (path to resource "water_400_white.png" in bundle path to me) as text
else if wmColor is in {"Black", "Black for all"} then
set wmFile to (path to resource "water_400_black.png" in bundle path to me) as text
end if
if wmColor is not in {"None", "None for all"} then
open file wmFile
set wmDocument to current document
set wmHeight to height of wmDocument
set wmWidth to width of wmDocument
duplicate current layer of wmDocument to thisDocument
close wmDocument without saving
translate current layer of thisDocument delta x (myWidth - wmWidth - 16) delta y (myHeight - wmHeight - 16)
set opacity of current layer of thisDocument to 20
end if
set myPath to (myFolder as text) & (currentName) & "_1020"
set myOptions to {class:JPEG save options, embed color profile:false, quality:12}
save thisDocument as JPEG in file myPath with options myOptions appending lowercase extension
set current history state of current document to initialState
end tell
end DoBigAs many others here I use JavaScript so I can’t really help you with your problem.
But I’d like to point to »the lazy person’s out« – with many operations that result in creating a new file on disk I simply duplicate the image (and flatten in the same step) to minimize any chance of damaging the original file if the Script should not perform as expected. -
Image resizes when imported or placed into InDesign
I'm having a problem with placing images into Indesign. The problem is random but sometimes when I place an image or drag it from my library into indesign the scale changes. It should place at 100% both horizontally and vertically but not always. when I check the size it may be slightly off either way. These images could be tiff, jpg, or eps files. Is this something that can be fixed with an update?
Are you saying the image comes in scaled unevenly, or that it comes in at something besides 100%?
Are there updates for your version that you haven't installed? Since you haven't told us what you are currently using, it's hard to know. The ONLY update I wouldn't unequivocally tell you to install in the 6.0.6 update for CS4. Before installing that you should read the documentation about how it might affect existing files with placed .ai art, and decide if this would be a problem, or a least a greater problem than anything that the patch is designed to fix. -
I am new to fluid grid layouts in Dreamweaver cs6, I want to insert a GIF file on my index page but I do not know how to make it so when the page shrinks the GIF or image shrinks as well. The only code that I have found is
img, {
max-width: 100%;
But this code already exists in the css file when you create a new fluid grid based layout
img, object, embed, video {
max-width: 100%;
can anyone help a newbie please..this is my source code
<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]> <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kyle Childress Foundation</title>
<link href="boilerplate.css" rel="stylesheet" type="text/css">
<link href="/layout.css" rel="stylesheet" type="text/css">
<!--
To learn more about the conditional comments around the html tags at the top of the file:
paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
* insert the link to your js here
* remove the link below to the html5shiv
* add the "no-js" class to the html tags at the top
* you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
-->
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="respond.min.js"></script>
</head>
<body>
<div class="gridContainer clearfix">
<div id="animation"><img src="images/images/kyleanimation2014gif2.gif" alt="kylechildressfoundationanimation"></div>
</div>
</body>
</html>
this is my css
@charset "UTF-8";
@import url("/kyle.css");
/* Simple fluid media
Note: Fluid media requires that you remove the media's height and width attributes from the HTML
http://www.alistapart.com/articles/fluid-images/
img, object, embed, video {
max-width: 100%;
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
width:100%;
Dreamweaver Fluid Grid Properties
dw-num-cols-mobile: 5;
dw-num-cols-tablet: 8;
dw-num-cols-desktop: 10;
dw-gutter-percentage: 25;
Inspiration from "Responsive Web Design" by Ethan Marcotte
http://www.alistapart.com/articles/responsive-web-design
and Golden Grid System by Joni Korpi
http://goldengridsystem.com/
/* Mobile Layout: 480px and below. */
.gridContainer {
margin-left: auto;
margin-right: auto;
width: 87.36%;
padding-left: 1.82%;
padding-right: 1.82%;
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#animation {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#image {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
.gridContainer {
width: 90.675%;
padding-left: 1.1625%;
padding-right: 1.1625%;
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#animation {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#image {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
/* Desktop Layout: 769px to a max of 1232px. Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {
.gridContainer {
width: 88.2%;
max-width: 1232px;
padding-left: 0.9%;
padding-right: 0.9%;
margin: auto;
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#animation {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#image {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
the animation GIF is 700 x 908
I changed the code from max-width to just width 100% but it still did not work ,, please help -
Default image resizing on "placing"
Please let me know if there is a way to automatically resize an image when it is placed into a page. For me it would be ideal to specify a default value of height and/or width with constrained proportions.
You don'tmentin the versionof ID, which makes a little difference in behavior. Since CS4 ID has placed images proportionally scaled (but uncropped) if you click and drag while placing.
That said, if you want a frame a particular size with fitting set to fill proportionaly you can either make a frame on the master page and set the fitting parameters, or put such a frame into a library and drag it onto your page wherever you want it. -
How to get jpegs automatically resized when placed in a book?
Hello all,
New member on board here. Got a question for you guys.
When I pull a jpeg into a book page (I'm using the Library theme), I'm getting a "!" in a yellow triangle. I'm assuming that means the jpeg is too big.
Is there a way that iPhoto can automatically resize a jpeg to fit within the parameters of the picture space?Thinkingman:
Welcome to the Apple Discussions. Just the opposite, it means that the pixel dimensions of the photo are deemed too small for optimum image quality by iPhoto. What pixel dimensions are the photos and what size frame are you using it in?
iPhoto automatically resizes photos to fit the frames in books, and the containers in the other items, calendars, cards, etc.
Do you Twango? -
Help ... Image gap when placing images
When ever placeing an image in dreamweaver cs6 i am getting this white space.... http://paulwilson209.com/testerhats/index4.html.... this also happens win usig divs. what am i missing?
Glad to help. I don't post here much, but I do tend to give correct answers most of the time. Unfortunately, they are often overlooked in the noise . The issue is that the W3C specification always treated images as inline-replaced elements (just like text) and so browsers leave room, as Murray pointed out, for descending character parts (like the a lowercase "y") even though an image does not have those parts. It's one of many illogical decisions made by the folks who devised the specification. In older versions of HTML/xhtml this issue was only an issue when a strict DOCTYPE was used. You could get the same result in CS4 by simply converting your page to a strict DOCTYPE. The HTML5 DOCTYPE, which is often default in CS6, is always "strict" and so that's why you see this anomaly now. Relative to your e-mail, there really is no way to learn all this in one, or even a dozen, places. It's something you accumulate over time as you design Web pages. You see a problem like this and you Google for information, or you post on a forum and, hopefully, you come with a solution. If you do, you store it in your brain and, if you're like me, in a big spiral notebook .
-
Poor Image Quality when printing in Pages
I created small (150 x 100 pixel at 72 dpi) images for printing on a one-page flyer in Pages. I dragged and dropped them into place, and things look great on the monitor. But when I print (using a Canon MX310) all-in-one, the images look bad - they are not looking crisp and sharp like they should. I have done everything on my printer settings I can - setting it to FINE quality, photo paper, etc. but they still look bad. Any ideas? I had tried this same thing in InDesign but there I got definitely jagged images on output. The images are TIFFs. I tried a different Canon ip3500 desktop printer, but to no avail.
You need +at least+ 200dpi.
300dpi is recommended to get fine detail.
The size of the image has nothing to do with it, it is how many pixels you have per inch on the page.
Obviously 72dpi has chunky pixels that you can see with your naked eye.
The other thing is where did you get the images from? If they came from the Web then they are probably highly compressed and have compression artifacts which are painfully obvious when printing.
Just changing formats is not going to do anything. What's that they say about a sow's ear…?
Peter -
Images resizing when using drag and drop
We just recently got PS Elements 7. I have a blank image that is sized at 600 x 1662 pixels. When I want to put a photo into that blank, I make sure that the photo is 600 pixels high. With 6, what I used drag and drop from the bin, the photo fit perfectly. With 7 it is apparently resizing the photo and I have to stretch it to fit. Is this something that I have set wrong? If I am making sure that both items should fit together based on number of pixels, why is one changing size? Something has to be changing size or the items would fit together. I am assuming that something is set wrong, because this just does not strike me a something that should happen, or the program is not a very efficient photo editor. If necessary I will go back to 5.0, although there are things that I like better in 7.
jean @ buffaloworksI'm frankly surprised you had success with this in PSE 6, since the past two versions create a special kind of smart object from images dragged up from the bin. You can use copy/paste to create a regular layer, or you can drag down to a thumbnail in the bin from an open image, but the project bin doesn't let you drag up anymore, by design.
Did you mean to say PSE 5 rather than 6? It worked normally there.
Maybe you are looking for
-
BAPI_GOODSMVT_CREATE error: Enter the date of production.
Hi, Referring to the subject, I am getting error when i try to use BAPI_GOODSMVT_CREATE to do "Goods Receipts for Prod Order". The error is asking me to "Enter the date of production". GM_CODE has been assigned to 02. Posting date and doc date are se
-
ITunes won't sync all of my songs to my iPhone 4S
When I sync to my iPhone 4S, it won't allow my to manually manage the music. The box can be checked, but other than that, nothing happens. On my phones music section, there are no options, other than voice memos, so I can't drag music to it. When I s
-
Sounds NOT working! Please help!
I have a ON/OFF switch to sound the music. When the site loads the music plays automatically and if clicked it turns off the music and it works OK, but if I imported a new music file with a different file name and delete the one that worked. I set th
-
Outlook 2010 as a remote app with Remote Exchnage
Hello All I am running RDS Farm with Windows Server 2008 R2. I have 2 RDS servers connected to domain and so on. I have managed to "publish" Internet Explorer as a remote app (For secure surfing) and it works perfectly. Now I would like to publish Ou
-
Thr pricing procedure RM0000 for PO'sin my scenario inculdesa condition type NAVM-Non deductible tax. Can anybody please advise how this works if the have used it.