Transillumination is a useful and inexpensive clinical tool that can be used for a range of conditions including testicular hydrocele. This paper gives a brief overview of the clinical use of transillumination in general, for testicular hydroceles and guidance for photography.
There are certain clinical conditions that can be diagnosed and visualized using light transmitted through the skin and other tissues. This paper briefly looks at the clinical use of transillumination in the literature and gives guidance for photography. The use of transillumination has been around for a long time for example from Bryant's Practice of surgery in 1873  "Is it a hydrocele or a haematocele? Is it the product of inflammation or tubercular disease? Is it a new growth altogether, and if so is it innocent in its nature or malignant? Should the tumor prove translucent by transmitted light, the existence of a hydrocele may fairly be decided".
It has been used to look at the extent of fluid in an infant skull in the paper by Martin Johns  and using infrared transillumination to examine breast tissue and neonates  before improved resolution in ultrasound was available. Details about transillumination from a technical photographic perspective can be found in Ray's book on Scientific and Applied Imaging .
More recently it has been used in ophthalmology to visualize intraocular tumours  and in dermatology to look at the response of nails to treatment , as a bedside aid for differentiating menigocele from myelomenigocele . As Pandita commented "The test is cheap, easily achievable and can be executed in the periphery by health care people, who do not have access to modern ultrasound machines". But also stressed that MRI was the Gold standard for diagnosing meningocele and myelomeningocele.
Transillumination for the differential diagnosis of testicular hydrocele has been covered in recent clinical literature including; Abdominoscrotal Hydrocele: Role of Physical Exam and Transillumination in Diagnosis by Keihani  and Transillumination: Shining a light from within by Irfan  in BMJ case Reports.
Photography is easiest if the patient is seated as, depending on strength of the light source, a long exposure may be needed. For high quality photographs use a low digital film speed and place the camera on a tripod to avoid camera shake with long exposures. The key factor in exposure is the strength of the light source and the amount of heat it produces. Almost all light sources produce heat and it is important for the patient's comfort that the light source is only applied long enough for the photograph to be taken and then removed and turned off. If multiple photographs are needed to get the right exposure the light source should be allowed to cool down between images. The stronger the light the more heat it produces and the shorter the exposure. So there is a balance between film speed, light strength and exposure time.
It is routine to take photographs with normal light first, Figure 1 taken with studio flash and then with transillumination, Figure 2. It can be difficult to locate anatomical points and features on the testicle when looking at the transilluminated view. The transilluminated view was taken using fibre optic light source with a colour temperature of 3200° K, camera was a Nikon D7000 set at ¼ second at an aperture of f/8, ISO 400. As the skin and tissues transmit light of long wavelengths, red part of the spectrum, so the colour temperature of the light source is unimportant. Due to this recording with the camera on auto white balance or for daylight will give the same end appearance.
Figure 1: Normal clinical photograph showing hydrocele of the left testicle.
Figure 2: Photograph showing transillumination of hydrocele of the left testicle.