Quick Tip: How To Extend a Background In Photoshop CC – Instagram Style

March 24, 2014 | By

  In this episode of Adobe Creative Cloud TV, I’ll show you a quick tip on how to change the aspect ratio of your portrait image to a square by extending the background in Photoshop CC. Are you missing out on my Bonus Content? See more of my Adobe Creative Cloud Videos on my Adobe […]

The post Quick Tip: How To Extend a Background In Photoshop CC – Instagram Style appeared first on Terry White’s Tech Blog.

Read More

Toggle the Crop Shield in Photoshop

March 24, 2014 | By

The forward slash key (/) toggles on and off the Shield (the shading of the area outside of the crop) while using the Crop tool in Photoshop.

Read More

Sunday Quickie – Bookmarklet to “Fix” forms that disable autocomplete

March 23, 2014 | By

I don’t know about you, but when I see a form that has disabled autocomplete, I get pretty upset:

I understand the logic behind doing so on certain secure forms, but when I ran into this a few minutes ago for a freaking survey I wanted …

Read More

I survived Big Nerd Ranch training

March 22, 2014 | By

It’s Saturday morning and I’m slowly decompressing from spending the last seven days in what is easily the most intense training I’ve experienced in my life. I’ve just returned from Big Nerd Ranch’s “Beginning iOS” class and I’d like to…

Read More

Example of a JavaScript Disqus Recent Comment Widget

March 21, 2014 | By

I’ve made great use of Disqus on a few sites now and am planning on converting my 50K+ comments here some day soon. One of the features I’m interested in is building a way to list out recent comments per site. Disqus has a pretty comple…

Read More

Zoom All Documents in Photoshop

March 21, 2014 | By

 With the Zoom tool selected, checking Zoom All Windows (in the Options bar) will zoom all open documents at one time. If you don’t want the option on all of the time, press the Shift key to temporarily toggle on/off  the Zoom all Windows feature. 

Read More

A Big Beautiful Light for Photographers – Westcott Zeppelin Para-59″

March 21, 2014 | By

The bigger the light and the closer to your subject, the softer it will be. I’ve always been a fan of BIG softboxes. So when I saw that Westcott had just introduced three new Zeppelin deep parabolic softboxes and the largest one being 59″ I was delighted to take it for a spin. First off, […]

The post A Big Beautiful Light for Photographers – Westcott Zeppelin Para-59″ appeared first on Terry White’s Tech Blog.

Read More

Into The Box 2014

March 20, 2014 | By

A day before cf.Objective() 2014, the ColdBox team is hosting the one-day Into The Box 2014, featuring sessions on the entire ColdBox family – WireBox, CacheBox, LogBox, TestBox, ProfileBox, and more.

Read More

30 Inspiring Examples of 3D Printing

March 20, 2014 | By

Since the first functional 3D printers were created 30 years ago they have been used to create car parts, smartphone cases, fashion accessories and even artificial organs. Not only is the technology impressive, so are the different types of materials you can print with. But I want to focus on what 3D printing can do in the hands of creatives (especially […]

Read More

“Birds-Eye” Zoom View in Photoshop

March 20, 2014 | By

A quick way to navigate to another part of an image is to use “Birds-Eye View”. With any tool selected, hold down the “H” key (to temporarily select the Hand tool) and click in the image area to “crash”-zoom the image to Fit on Screen. Drag to reposition the rectangle and release the Hand tool […]

Read More

This server…

March 20, 2014 | By

A few days ago I blogged about how I was unhappy with the stability of my blog. I discussed how I was looking to simplify and reduce the “moving parts” here and that as part of that plan, I was going to switch to a static site.

In the meant…

Read More

Zooming and Panning in Photoshop without Switching Tools

March 19, 2014 | By

• Spacebar + Command (Mac) | Spacebar + Control + Alt  (Win) will temporarily give you the Zoom In tool without having to switch to the Zoom tool. • Spacebar + Option + Option (Mac)/ Spacebar + Alt (Win) will temporarily give you the Zoom Out tool without having to switch to the Zoom tool. On Mac, it’s important the order […]

Read More

ExpoDisc 2.0 Review

March 19, 2014 | By

Having proper white balance in your photos can help make the difference between a good shot and a great shot. If you’re shooting RAW or in studio with a gray card or color passport, it’s pretty easy to adjust the white balance in post. However, if you’re shooting JPEG or shooting scenes where you can’t […]

The post ExpoDisc 2.0 Review appeared first on Terry White’s Tech Blog.

Read More

“Flick Panning” in Photoshop

March 18, 2014 | By

When using the Hand tool to pan (move left, right, up or down in an image), Photoshop “eases out” of the pan. For an abrupt stop when panning,  click, drag and hold with the Hand tool. If you prefer, Flick Panning can be toggled off in the General Preferences by unchecking  Enable Flick Panning. 

Read More

Brackets Sprint 37 and Upcoming Hackathon

March 18, 2014 | By

Today Brackets Sprint 37 was released. You can download it via the usual place. Release notes may be found here: https://github.com/adobe/brackets/wiki/Release-Notes:-Sprint-37. My favorite updates here are the ability to finally disabl…

Read More

5 Things Developers Need to Know About Design #SXSW2014

March 18, 2014 | By

Many people have asked for my slides from the “Design for Developers” talk I gave at SXSW Interactive for the Adobe Creative Camp. Now I did upload the slides here but the entire presentation was just too complex considering all the videos and interactive elements I used. So I decided to record my presentation for your viewing pleasure.  Feel free to […]

Read More

Krebs On Security ColdFusion Story

March 17, 2014 | By

Krebs on Security has posted a story with the link bait title of The Long Tail of ColdFusion Fail. The title is misleading; the story is not about ColdFusion fails at all, but about IT failing to keep servers up to date to deal with already a…

Read More

Aerial Photography with a GoPro Camera and Adobe Creative Cloud tools

March 17, 2014 | By

My second article on aerial imaging with a remote controlled helicopter is now live in the March 2014 issue of Adobe Inspire!  The first article focused on aerial videography and Adobe video tools. This time it’s all about aerial photography with a GoPro camera and DJI Phantom (and how to bring these images to life [...]

Read More

Zooming in Photoshop

March 17, 2014 | By

• Double click on the Zoom tool to display the image at 100%.  • Double click on the Hand tool to display the image as large as possible on the monitor, while still seeing the entire image (View > Fit on Screen). • Command + “+” (plus)  (Mac) | Control  (Win) +” (plus) zooms in. […]

Read More

Attending cfObjective? Check out Into The Box

March 17, 2014 | By

Just a quick note to suggest that folks attending this years cfObjective consider coming up a day early for Into the Box. This is a conference for all things Ortus – ok, maybe you don’t recognize that name – but these are the folks behin…

Read More

Very odd CFDOCUMENT Bug

March 16, 2014 | By

Every now and then I can’t find a good solution for a reader so I take to the “airways” and ask my good readers for help. This is one of those days. Rick emailed me a few days ago with an interesting issue.

He had a query that he used to create a set of PDFs. In each PDF, he included a bit of dynamic data, like name, age, etc. It worked, but something odd happened. Consider the following sample code.

<cfset getStudents = queryNew("fname,lname,email", "cf_sql_varchar,cf_sql_varchar,cf_sql_varchar", [
	{fname:"Ray",lname:"Camden",email:"raymondcamden@gmail.com"},
	{fname:"Joe",lname:"Blow",email:"jblow@gmail.com"},
	{fname:"Scott",lname:"Stroz",email:"boyzoid@gmail.com"}]
	)>


<cfoutput>
 
    <cfloop query="getStudents">
   
        <cfdocument format="pdf" orientation="landscape" name="certificate">

        	<p style="background-image:url(cert.jpg);background-repeat:no-repeat;height:680px;width:900px">
			<font size="+2">#fname# #lname#</font>
			</p>
			
        </cfdocument>
       
        <cfmail from="no_reply@monoc.org" to="#email#" subject="Your Course Completion Certificate" type="html">
       
	        <cfmailparam file="certificate.pdf" type="application/pdf" content="#certificate#" />
        </cfmail>
       
    </cfloop>
   
</cfoutput>

Pretty straightforward, right? Each PDF is stored in memory and then attached to an email. When executed, emails go out, the text is dynamic per the code specified, but only the first PDF has the background attachment as defined in CSS.

As an FYI, when you create emails with attachments, you can find the attachments pretty easily. Open the mail file first, and then make note of the file line. Here is a sample from one of my tests: file: /Applications/ColdFusion10/cfusion/runtime/work/Catalina/localhost/tmp/cftmp1249913661563960132.tmp

The file is named .tmp, but I found the file, renamed it .pdf, and was able to view it just fine.

Anyway, I did some digging into this and immediately found some interesting tips:

  • Use localurl=”true”
  • Use a file:/// path

But none of these worked. I also tried adding a bit of randomness to the URL, thinking it was something in ColdFusion’s request handling, but that didn’t work either. I then made the variable used for PDF data dynamic. Why? Who the heck knows. I was trying everything. Here is the final version of the script, and one you can run yourself, to see the bug in action.

<cfset getStudents = queryNew("fname,lname,email", "cf_sql_varchar,cf_sql_varchar,cf_sql_varchar", [
	{fname:"Ray",lname:"Camden",email:"raymondcamden@gmail.com"},
	{fname:"Joe",lname:"Blow",email:"jblow@gmail.com"},
	{fname:"Scott",lname:"Stroz",email:"boyzoid@gmail.com"}]
	)>


<cfoutput>
 
    <cfloop query="getStudents">
   
        <cfdocument format="pdf" orientation="landscape" name="certificate#currentRow#" localurl="true">

        	<p style="background-image:url(cert.jpg);background-repeat:no-repeat;height:680px;width:900px">
			<font size="+2">#fname# #lname#</font>
			</p>
			<hr/>
			<p style="background-image:url(file:///Users/ray/Dropbox/websites/testingzone/cert.jpg);background-repeat:no-repeat;height:680px;width:900px">
			<font size="+2">#fname# #lname#</font>
			</p>
			<hr/>
			<p style="background-image:url(cert.jpg?x=#createUUID()#);background-repeat:no-repeat;height:680px;width:900px">
			<font size="+2">#fname# #lname#</font>
			</p>
			
        </cfdocument>
       
       <cfset content = variables["certificate#currentRow#"]>
        <cfmail from="no_reply@monoc.org" to="#email#" subject="Your Course Completion Certificate" type="html">
       
	        <cfmailparam file="certificate.pdf" type="application/pdf" content="#content#" />
        </cfmail>
       
    </cfloop>
   
</cfoutput>

So… any ideas?

Read More