photosDespues=new ArrayList<Photo>();
for(FotoDTO foto:parcelaDTO.getFotos()){
if(foto.isAntes()){
new PreloadedImage("/ImageServer.image?id="+foto.getId(), showImageFotosAntes);
Photo photo = new Photo("/ImageServer.image?id="+foto.getId());
photo.setHeight(50);
photo.setWidth(50);
photo.setCaption(foto.getNombre());
photosAntes.add(photo);
cantFotosAntes++;
}else{
new PreloadedImage("/ImageServer.image?id="+foto.getId(), showImageFotosDespues);
Photo photo = new Photo("/ImageServer.image?id="+foto.getId());
photo.setHeight(50);
photo.setWidth(50);
photo.setCaption(foto.getNombre());
photosDespues.add(photo);
cantFotosDespues++;
}
}
/*if(photosAntes.size()>0){